View previous topic :: View next topic |
Author |
Message |
Poecilotheria n00b

Joined: 06 May 2006 Posts: 12
|
Posted: Wed May 10, 2006 2:38 am Post subject: Now networking |
|
|
-Gentoo installed and running.
-Ive got the hang of mnt/dev
Now im trying to connect to the net, so far with no luck.
Im running through a router.
eth0 is detected and seems to be functioning.
lspci lists eth0 as 'Ethernet controller: 3Com Corporation 3c905c- TX/TX-M [tornado] (rev 7 '
grep -i e100 /usr/src/linux/.config comes up as 'no such file or directory'
There is no '/usr/src/linux' but I can cd as far as /src
There doesnt seem to be a /ect/conf.d/net
input: rc-update add net.eth0 default
output: *net.eth0 added to runlevel default
*rc-update complete
Where do I find the network settings ?
Can I ping the default gateway ? |
|
Back to top |
|
 |
mexica n00b

Joined: 04 Jan 2006 Posts: 5
|
Posted: Wed May 10, 2006 2:49 am Post subject: |
|
|
Have you issued the command /etc/init.d/net.eth0 start? From there, it should get an IP via dhcpd. One thing I ran into was I had to install dhcpd first.
The strange thing is, if you're fully installed, you should have a kernel in /usr/src/ cd to it and just ls. if there is is a kernek tree there, you can ln -s kernel-****** linux.
Hope this helps!
Michael |
|
Back to top |
|
 |
Poecilotheria n00b

Joined: 06 May 2006 Posts: 12
|
Posted: Wed May 10, 2006 3:06 am Post subject: |
|
|
Odd I tried ' /etc/init.d/net.eth0' it came up with: 'Normal options' 'flags' 'config files'
The interesting thing is the config files list /ect/conf.f/net.lo and /ect/rc.conf... files I think are something lol :p nevermind.
cd to /usr/src/ ls coms up with nothing, its empty. ls -l = total 0
Does this mean something went wrong with the install ? |
|
Back to top |
|
 |
MACSRULETHEWORLD Tux's lil' helper


Joined: 17 Apr 2004 Posts: 131
|
Posted: Wed May 10, 2006 3:33 am Post subject: |
|
|
Poecilotheria wrote: | cd to /usr/src/ ls coms up with nothing, its empty. ls -l = total 0
Does this mean something went wrong with the install ? |
i think if you have no kernel, then yes, something may have gone wrong with the install |
|
Back to top |
|
 |
Poecilotheria n00b

Joined: 06 May 2006 Posts: 12
|
Posted: Wed May 10, 2006 3:53 am Post subject: |
|
|
The kernel isnt installed ?
I guess thats possible.
Is there a way to check specifically ? |
|
Back to top |
|
 |
Paapaa l33t


Joined: 14 Aug 2005 Posts: 955 Location: Finland
|
Posted: Wed May 10, 2006 8:09 am Post subject: |
|
|
Poecilotheria wrote: | The kernel isnt installed ? |
It just means kernel sources are not installed. If your computer boots normally from your harddrive (I assume you have removed the installation CD from the CD tray...) then you must have a working kernel. I don't know if the sources should be there, though. |
|
Back to top |
|
 |
bjd Tux's lil' helper

Joined: 10 Aug 2005 Posts: 127 Location: Loughborough, UK
|
Posted: Wed May 10, 2006 8:31 am Post subject: |
|
|
First modify /etc/conf.d/net. Probably won't exist til you create it, the handbook describes the format and there is IIRC a /etc/conf.d/net.example file. This defines whether you get your IP via DHCP or statically, and if statically you define in here your IP and gateway.
/etc/resolv.conf stores your nameserver addresses, which you should get from your ISP.
If you use DHCP to get an IP you need to emerge dhcpcd.
You've added the net init script to the default runlevel, which will start it on next boot. To start it manually issue "/etc/init.d/net.eth0 start"
I see you are looking for the e100 module for you card. Thats for Intel NIC's, the module you need is probably 3c509 Whats the output of "ls -l /usr/src" ? If the kernel source is missing (strange...) then you can just re-emerge it.
Good Luck  _________________ Top Tips in life, #7
"Olympic athletes. Disguise the fact that you've taken steroids by running a bit slower." |
|
Back to top |
|
 |
|