View previous topic :: View next topic |
Author |
Message |
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 3:38 am Post subject: Help with network setup [Solved] |
|
|
Ok.....
Its taken me 5 days to get to the root on the installed system. Yeah thats right..... 5 days...... Im a newb I admit it. Im finding my trudge through this to be getting tiresome. Ive gotten a kernel installed and everything setup per the instructions listed in the handbook and quick guides. I can boot into the system without the live CD. Ive even gone back and chrooted into the installed system to fix a few things here and there. Now the thing that is pissing me off is my network card wont work. What did I miss and where do i fix it? Is it a module? Is it a config file? I cant get you screenshots. All I can tell you is that when it tries to start DHCP it fails. Its like the card isnt there. This of course keeps me from finishing the install without downloading burning and copying the packages. I would like to be able to boot up like the Live CD where it detects the things I need. That would probably take me 2 weeks to figure out though Anyway.... go ahead drop those command lines and config files down so I can pick em up ......
Thanks for your time.
A weary Capn
Last edited by CapnLoogie on Mon Feb 21, 2005 12:29 am; edited 2 times in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Feb 20, 2005 3:44 am Post subject: |
|
|
You forgot to mention what card it is... If you don't know, boot from the LiveCD (which according to your post detects it), take a look at the output of to figure out the card chipset, and take a look at the output of to figure out which module you need. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 3:57 am Post subject: |
|
|
Ok did that.... Came up with
Ethernet Controller: Accton Technologies Corp SMC2-1211TX
Im guessing that the Module is
ehci-hcd
Is that correct??? |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Feb 20, 2005 4:13 am Post subject: |
|
|
No, that's an USB driver. Your driver is probably 8139too since that Accton card uses the RTL8139 chipset, if I remember correctly. If that doesn't work, just paste the output of the LiveCD's lsmod here. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 1:01 pm Post subject: |
|
|
Sorry for the delay. My brain told me to go to sleep. Now after being rested things may go a bit smoother.
You are correct its the 8139too module. How do I get the running? Please dont say recompile the kernel lol
Its an old P3 500Mhz machine and compiling is cruel and unusual punishment.
Thanks for all the help so far though. Those two command should be listed in the Handbooks and HOW-TO's
they are extreamly handy!
Thanks much
The Capn |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun Feb 20, 2005 1:59 pm Post subject: |
|
|
How did you compile your kernel? If you used the standard genkernel settings it's probably already there, and all you'll need to do is modprobe 8139too. If the module isn't there, then just enable it, and build the module:
Code: | cd /usr/src/linux
make menuconfig
<Go into Device Drivers --> Networking --> 10/100Mb and find the relevant module, then press M to create it as a module>
make modules
<This will only compile the new module, not the whole kernel again. :) >
make modules_install |
Then you should be able to load it with modprobe.
Adding 8139too to /etc/modules.autoload.d/kernel-2.6 (if you use a 2.6.x kernel) will load it on boot, and then dhcp should be able to start. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 3:33 pm Post subject: |
|
|
Kewl I will give that a try and post the outcome |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 4:01 pm Post subject: |
|
|
Well that seemed to load the module.
I dont get anymore errors when the Kerrnel loads
I still cant ping anything at all and it wont download the packages from the net.
Im guessing this is a conf file error Ive made?
Im connecting through a cable modem and a router with dhcp running on the router.
I have 3 other comps online do I need to list those somewhere?
At least Ive got the card working now
Thanks |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun Feb 20, 2005 4:07 pm Post subject: |
|
|
Ok, what did you do after loading the module? If you haven't yet, run /etc/init.d/net.eth0 start and then it should be useable.
If you have run that, or rebooted, then can you post the output of ifconfig, please? _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 8:51 pm Post subject: |
|
|
Yup its started
When I tried to restart it I got awarning saying its already running
Youll have to give me a few cause Ill have to write down all the output and copy it here
Im back an forth between comps here sop bear with me |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 9:23 pm Post subject: |
|
|
Ok here it is......
eth0 Link encap: Ethernet HWaddr 00:00:E8:96:94:C9
inet addr: 192.168.0.2 Bcast 192.168.0.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX Packets:507 errors: 0 dropped: 0 overrruns: 0 frame:
0 TX Packets: 0 errors: 0 dropped: 0 overruns: 0 carrier:
0 collisions: 0 txqueuelen:1000
RX bytes:50010 (48.8Kb) TX bytes: 0(0.0b)
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: 0 errors: 0 dropped: 0 overruns: 0 frame:
0 TX Packets: 0 errors: 0 dropped: 0 overruns: 0 carrier:
0 colllisions: 0 txqueuelen:0
RX bytes: 0 (0.0b) TX bytes: 0 (0.0b)
Damn that was alot of writting and typing LOL |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Sun Feb 20, 2005 10:07 pm Post subject: |
|
|
I found it!!!!
It was the /etc/conf.d/net file. I didnt remove the remark # from the dchp setting Opps
Well at least Ive learned a few things. All seems to be working correctly now
Thanks much for your help |
|
Back to top |
|
|
KlutZ n00b
Joined: 31 Dec 2004 Posts: 23
|
Posted: Sun Feb 20, 2005 11:39 pm Post subject: |
|
|
Hey, I've been following this thread, because I've been having almost the exact same problem. My "ifconfig" is:
Code: | eth0 Link encap: Ethernet HWaddr 00:50:8D:F9:62:71
inet addr: 192.168.0.255 Bcast 192.168.0.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
RX Packets: 0 errors: 0 dropped: 0 overruns: 0 frame:
0 TX Packets: 0 errors: 0dropped: 0 overruns: 0 carrier:
0 collisions:0 txqueuelen: 1000
RX bytes: 0(0.0b) TX bytes: 0(0.0b)
Interrupt: 11 Base address: 0x4000 |
The bottom half is identical. If I uncomment the dhcp settings, I only get the bottom half with "ifconfig". I also get a netmount not started error when booting.
Other possiblely needed info:
Onboard Ethernet, Abit NF7-S v2.0
ADSL modem.
Also, I am using genkernel if that matters.
If I boot from the CD, everything works fine until I reboot. After that I get nothing. If you need anything else I'll post it. I'm at my wits end with this.
Thanks |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Mon Feb 21, 2005 12:06 am Post subject: |
|
|
CapnLoogie wrote: | All seems to be working correctly now |
Please insert [SOLVED] into the title of your first post. |
|
Back to top |
|
|
CapnLoogie n00b
Joined: 17 Feb 2005 Posts: 47 Location: Middlebury, Indiana
|
Posted: Mon Feb 21, 2005 12:35 am Post subject: |
|
|
Klutz,
I had to edit my /etc/conf.d/net file
Boot up without the CD and log in as root
Then type:
nano -w /etc/conf.d/net
The setting is up in the top most part of the form where it lists out a bunch of IP addys. You have to delete those out and put in thier place "dhcp".
Also make sure you remove the # from the begining of the line you edit to make it active, this was my big mistake. Its like the "rem" statement from
DOS days. Save and reboot and it should be ok.
I hope Im giving you good advice. At least thats what worked for me.
Good luck |
|
Back to top |
|
|
|