View previous topic :: View next topic |
Author |
Message |
jmitch171 n00b
Joined: 14 Aug 2003 Posts: 25 Location: pa
|
Posted: Thu Aug 14, 2003 12:20 am Post subject: Network problems |
|
|
First I will start with the fact that I am new to gentoo and linux.
I am up to the final network configuration and can't get any further. Network worked fine during the install but now it won't work. i have a linksys NIC that i think uses the "tulip" driver i guess.
Can anyone help get me going?
Thanks |
|
Back to top |
|
|
undrwater Guru
Joined: 28 Jan 2003 Posts: 314 Location: Caucasia
|
Posted: Thu Aug 14, 2003 1:10 am Post subject: |
|
|
We can help!!
Please post what you've gotten so far, and if there are errors what are they?
you have to be as specific as possible so that we don't spend time typing up something you've already done _________________ Open-mindedness is painful... |
|
Back to top |
|
|
revresxunil Tux's lil' helper
Joined: 29 Sep 2002 Posts: 129 Location: UW Madison
|
Posted: Thu Aug 14, 2003 1:42 am Post subject: |
|
|
see if tulip is running by issuing the command lsmod (list modules)
if its not, run modprobe tulip, then add tulip to /etc/modules.autoload
see if net.eth0 is started, /etc/init.d/net.eth0 status. if its not, then get your ethernet up by /etc/init.d/net.eth0 start
Otherwise, you most likely need to edit /etc/conf.d/net so that you are doing dhcp or static ip, and set the gateway.... net will have instructions right in the file.
That is hopefully what you need. |
|
Back to top |
|
|
jmitch171 n00b
Joined: 14 Aug 2003 Posts: 25 Location: pa
|
Posted: Thu Aug 14, 2003 2:49 am Post subject: |
|
|
I am following the installation guide and i am at the final network configuration.
i ran lsmod and there is nothing running
ran modprobe tulip and got an error:
modprobe: Can't locate module tulip
i think i am missing a module or something?? |
|
Back to top |
|
|
revresxunil Tux's lil' helper
Joined: 29 Sep 2002 Posts: 129 Location: UW Madison
|
Posted: Thu Aug 14, 2003 3:13 am Post subject: |
|
|
i see. You need to go into the kernel config and select it as a module so that it builds the tulip driver... then make modules modules_install |
|
Back to top |
|
|
jmitch171 n00b
Joined: 14 Aug 2003 Posts: 25 Location: pa
|
Posted: Thu Aug 14, 2003 3:15 am Post subject: |
|
|
which option sets it as a module? |
|
Back to top |
|
|
jmitch171 n00b
Joined: 14 Aug 2003 Posts: 25 Location: pa
|
Posted: Thu Aug 14, 2003 4:44 am Post subject: |
|
|
alright, i got the tulip driver in but everytime i try to emerge something it tells me Host not Found. |
|
Back to top |
|
|
revresxunil Tux's lil' helper
Joined: 29 Sep 2002 Posts: 129 Location: UW Madison
|
Posted: Thu Aug 14, 2003 6:16 am Post subject: |
|
|
so you got it set as a module in the kernel config, did you recompile the kernel? after you do that, modprobe tulip, then run /etc/init.d/net.eth0 |
|
Back to top |
|
|
revresxunil Tux's lil' helper
Joined: 29 Sep 2002 Posts: 129 Location: UW Madison
|
Posted: Thu Aug 14, 2003 6:17 am Post subject: |
|
|
if you cant figure this out, send me a PM, and ill chat with you on AIM on thursday.. Gentoo isnt very easy to setup for a linux newbie. |
|
Back to top |
|
|
MrPyro Tux's lil' helper
Joined: 14 Aug 2003 Posts: 121 Location: Sheffield, England
|
Posted: Thu Aug 14, 2003 12:21 pm Post subject: |
|
|
Have you set up /etc/conf.d/net for that network card? If it's saying host not found, it could be a gateway problem. Also, check /etc/resolv.conf to make sure you have a valid DNS server specified. |
|
Back to top |
|
|
Durenunde n00b
Joined: 22 May 2003 Posts: 26 Location: N.Ireland
|
Posted: Thu Aug 14, 2003 4:27 pm Post subject: |
|
|
first few things to make a checklist of what you've got done.
1. make sure you got he /etc/resolv.conf copied over from during the install if you didnt you can get it again by booting up and following that part of the manual to get it going.
2. make sure you mount /boot before copying across any updated kernel config (bzImage) or you are copying it to no-where so you'll need to
then do the cp of the bzImage across
then
3. Make sure you have edited the /etc/conf.d/net file to include your default gateway information if you arent using dhcp.
common editors are vim and nano.
Code: | emerge vim or emerge nano (nano should already be on your system though) |
Code: |
# vim /etc/conf.d/net
|
and make sure you have it is set correctly.
also make sure it is set to start automatically
Code: | rc-update add net.eth0 default |
so you don't have to /etc/init.d/net start everytime you want to use it.
am at work and its time to go home so I'll finish this off later
maybe this has helped so far.
Duren
[/code] _________________ mmmm, pizza |
|
Back to top |
|
|
jmitch171 n00b
Joined: 14 Aug 2003 Posts: 25 Location: pa
|
Posted: Thu Aug 14, 2003 4:46 pm Post subject: |
|
|
i think i got it.
thanks to all |
|
Back to top |
|
|
|