Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
networksetup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sweetangelhsd
n00b
n00b


Joined: 30 Jun 2002
Posts: 19

PostPosted: Mon Jul 01, 2002 3:22 pm    Post subject: networksetup Reply with quote

please can someone help me out of the going nowhere endless red sea of network guides that seem to tell you every thing but what you need to know.
i have the following software: gentoo with gnome 1.4 samba (just finished emerged it) windoze 98se on my laptop.

the gentoo system will have two realtec 8139 cards in it (it has one)
i would like one to be for my dsl static ip address (internet)
the other for internet and file sharing with windoze
at some point i will be adding a firewall in but not now

my question is this:

HOW DO I START TO SET THE NETWORK UP


this is my first network using linux i have done networks with all windoze computers (oh wait a child can do that)
so i am total clueless how to setup gentoo linux to do this.
thanks for your time and brain power
edited
if you want to setup a network on windows you would click on network neighborhood
under linux you would do??
1) emerge samba which is done
now what
my network card is working and i do have internet
signed soon to a bald ex-blonde on prosack


Last edited by sweetangelhsd on Mon Jul 01, 2002 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Mon Jul 01, 2002 3:51 pm    Post subject: Reply with quote

you need to include rtl8139 support (module 8139too) in your kernel.
If you build it in, it's ok, if you compile it as a module add 8139 to /etc/modules.autoload

that's the basic thing to get it working.

Afterwards you need to configure it with ifconfig

ifconfig eth0 ......

or whatever eth device you want to add/change

You should check out some howto on that as it's too much info for a forum thread (see how the install doc does it, it's pretty the same procedure)
Back to top
View user's profile Send private message
sweetangelhsd
n00b
n00b


Joined: 30 Jun 2002
Posts: 19

PostPosted: Mon Jul 01, 2002 4:06 pm    Post subject: Reply with quote

i have the network card working what i would like to know is how to setup samba and do i need any other software to do this tanks
_________________
windows-the darkness in the tunnel
linux-the light at the end of the tunnel
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jul 01, 2002 4:12 pm    Post subject: Reply with quote

man samba, man iptables, man... ;)
Back to top
View user's profile Send private message
sweetangelhsd
n00b
n00b


Joined: 30 Jun 2002
Posts: 19

PostPosted: Mon Jul 01, 2002 4:55 pm    Post subject: Reply with quote

that helped
but i still am total lost for some reason i just don't get it so does one now where i read a install guide to making all this works. you know like the gentoo setup guide something along them lines.
_________________
windows-the darkness in the tunnel
linux-the light at the end of the tunnel
Back to top
View user's profile Send private message
RebelYell
n00b
n00b


Joined: 28 Jun 2002
Posts: 41

PostPosted: Mon Jul 01, 2002 5:10 pm    Post subject: Reply with quote

sweetangelhsd wrote:
that helped
but i still am total lost for some reason i just don't get it so does one now where i read a install guide to making all this works. you know like the gentoo setup guide something along them lines.


If you're in fancy gui stuff, try installing webmin on your gentoo box (the latest webmin version supports gentoo, btw).
The install process of webmin is quite easy, and after that you're gonna be able to configure the gentoo box via internet exploder from the windoze box. Take a look at Webmin and see if it's the right thing for ya.

Good luck!
Back to top
View user's profile Send private message
sweetangelhsd
n00b
n00b


Joined: 30 Jun 2002
Posts: 19

PostPosted: Mon Jul 01, 2002 5:31 pm    Post subject: Reply with quote

it's something to think about
i still would like to figure the samba thing out the more i read the more confused i get i have owned my own computer shop for years and can figure most things out hell i was working on computer when all you had was kaypro computers with kbasic. so any other "pionters" would be great
_________________
windows-the darkness in the tunnel
linux-the light at the end of the tunnel
Back to top
View user's profile Send private message
RebelYell
n00b
n00b


Joined: 28 Jun 2002
Posts: 41

PostPosted: Mon Jul 01, 2002 9:33 pm    Post subject: Reply with quote

sweetangelhsd wrote:
it's something to think about
i still would like to figure the samba thing out the more i read the more confused i get i have owned my own computer shop for years and can figure most things out *beep* i was working on computer when all you had was kaypro computers with kbasic. so any other "pionters" would be great


OK, then. I guess the samba.conf file, the one provided with the samba package is pretty neat to read.
And by the way, my first computer was an Amiga 500 ;-)

Regards,
Rebel Yell
Back to top
View user's profile Send private message
sweetangelhsd
n00b
n00b


Joined: 30 Jun 2002
Posts: 19

PostPosted: Mon Jul 01, 2002 10:11 pm    Post subject: Reply with quote

And by the way, my first computer was an Amiga 500

commador 64 and 128 were my second and third
amiga 500 was my 5 computer
_________________
windows-the darkness in the tunnel
linux-the light at the end of the tunnel
Back to top
View user's profile Send private message
hamletmun
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2002
Posts: 111
Location: Buenos Aires, Argentina

PostPosted: Sat Jul 06, 2002 7:30 pm    Post subject: Network Up... I hope this helps you~~ Reply with quote

HOWTO - Make your Internet Connection Sharing to work

From ISP to GENTOO - (eth0:DHCP or STATIC IP)
From GENTOO to WINDOWS - (eth1:192.168.0.1)

1.
insmod your.nic.module (i.e. "insmod 3c59x") for both nics if differ

2.
if your ISP uses DHCP, "dhcpcd eth0"
if static, "ifconfig eth0 your.static.ip netmask 255.255.255.0 gateway your.isp.gateway"



Now is time to configure the connection sharing
this is just for kenels greater than 2.4.x with iptables

1.
insmod iptables_nat

2.
echo 1 >/proc/sys/net/ipv4/ip_forward

3.
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
(if your linux uses eth0 to connect your isp)

4.
In the Windows Machine:

192.168.0.1 in the gateway
numbers from your /etc/resolv.conf in DNS server
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum