View previous topic :: View next topic |
Author |
Message |
Rydog2987 n00b
Joined: 02 Aug 2004 Posts: 41
|
Posted: Sat Sep 04, 2004 6:47 pm Post subject: ethernet connection for a newb |
|
|
i have a national semiconductor ethernet card and i put the national semiconductor driver built into the kernel i also changed to dhcp in the rc.conf and changed to the appropriate balues in the hosts file. Yet i still cannot get onto the internet. I had the internet working on a previous installation but on teo new ones i just installed i cant get it working. Is there something else i have to do? |
|
Back to top |
|
|
hanj Veteran
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Sat Sep 04, 2004 6:52 pm Post subject: |
|
|
Can you replay with the outputs from ifconfig, lsmod and lspci? if you don't have lspci emerge pciutils.
Do you receive any errors, etc?
Do you know if the interface is coming up?
If so, are you receiving an IP from DHCP?
Thanks
hanji |
|
Back to top |
|
|
Rydog2987 n00b
Joined: 02 Aug 2004 Posts: 41
|
Posted: Sat Sep 04, 2004 7:11 pm Post subject: |
|
|
ifconfig
---------------------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5536 (5.4 kb) TX bytes:5536 (5.4 kb)
---------------
lsmod
--------------
Module Size Used by Not tainted
-----------------
lspci
-------------
0000:00:09.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 02)
0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP3815 (MacPhyter) Ethernet Controller |
|
Back to top |
|
|
hanj Veteran
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Sat Sep 04, 2004 7:16 pm Post subject: |
|
|
what kernel are you running?
thanks
hanji |
|
Back to top |
|
|
hanj Veteran
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Sat Sep 04, 2004 7:26 pm Post subject: |
|
|
Quote: | 0000:00:09.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 02)
0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP3815 (MacPhyter) Ethernet Controller |
Is this a laptop? Broadcom, I'm guessing is your wifi?
when you goto /usr/src/linux and make menuconfig
do you have this set as <*> or <M>:
Code: | National Semiconductor DP8381x series PCI Ethernet support |
Also did you edit /etc/conf.d/net file?
Are you getting any errors on...
Code: | /etc/init.d/net.eth0 start |
Thanks
hanji |
|
Back to top |
|
|
Rydog2987 n00b
Joined: 02 Aug 2004 Posts: 41
|
Posted: Sun Sep 05, 2004 4:14 am Post subject: |
|
|
sorry i took so long to respond i was at work. My kernel is 2.4. I have national semiconductor driver built-in as <*>. my conf.d/net is set to dhcp in iface_eth0. When i boot i get a eth0 error and when i run
/etc/init.d/net.eth0 start
i get the error
* Bringing eth0 up via DHCP... [ !! ]
I also get an error at boot if this has anything to do with it
failure to mount some local filesystems [ !! ]
im not sure what the broacom is, it cant be my router can it? i have a dlink router. |
|
Back to top |
|
|
|