LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2004, 09:26 PM   #1
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
Getting Ethernet working!!! (again)


Well, upon a re-install, I can't seem to get my ethernet working....

I've tried all the steps in my previous thread...

http://www.linuxquestions.org/questi...hreadid=209182

but I can't seem to get it to work.

I am on my University's connection now, and while the orange 'activity' lights light up when cat5 is plugged into either nic, I can neither ping the internet, or connect using mozilla on Gnome.

in netconfig I have tried using DHCP and the Static IP methods....both with a domain of 'localdomain', but nothing seems to work... is something wrong with my netconfig methods?

or is there something else I can try?

thanks!
-dia
 
Old 10-01-2004, 02:37 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Check your syslog and make sure that the netcard is being loaded during boot. If not then you'll have to make sure the driver is installed.
 
Old 10-01-2004, 10:55 AM   #3
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Code:
eth0: Dropping NETIF_F_SG since no checksum feature.
eth1: Dropping NETIF_F_SG since no checksum feature.
I get this, same as before, but it was working even when it said this.

In "dmesg|grep eth" anyway

I am on a university connection this time around, so I am sort of thinking that I'll need to set it up as a static connection rather than a DHCP....although both mine and my roommate's Windoze computers work 'right out of the box'

Last edited by Diademed; 10-01-2004 at 10:57 AM.
 
Old 10-01-2004, 11:27 AM   #4
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
Try this all as su:

#lsmod

(make sure that your eth modules are loaded)

#ifconfig eth0 down
#dhcpcd eth0
#ifconfig eth0 up

If everything works right, that should sned a dhcp request to the server. I doubt you can just plug in a static ip and get it to work, especially on a university network.
 
Old 10-01-2004, 02:33 PM   #5
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I've tried that, from looking at previous threads...

does eth0 have to be down to call dhcpcd?

when I've tried dhcpcd before, it just hangs until I ctrl-C it.

EDIT:

I'm 90% sure that the 3c59x module is loaded in lsmod, I checked it yesterday, and I believe it was...
 
Old 10-01-2004, 02:39 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
what do you get with ifconfig?
 
Old 10-01-2004, 03:59 PM   #7
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Something on the order of:

Code:
eth0     
Link encap:Ethernet HWaddr 00:60:08:A1:39:61
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:145 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:5
collisions:0 txqueuelen:1000
RX bytes:11580 (11.3 kb) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0xd000

eth1     
Link encap:Ethernet  HW addr 00:60:08:1D:9C:A1
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:724 (724 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xb800

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
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Wow, that was a doozy, typing all that up, but here you go...
 
Old 10-01-2004, 04:14 PM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
2 things;
to get text output do ifconfig > /home/user_name/ifconfig.txt

and
the most noticeable feature is a lack of ip addresses on both eth0 and eth1. So it looks like they are not configured by either static or dhcp.
 
Old 10-01-2004, 04:28 PM   #9
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
yes... I did netconfig by static the last time, I think, or possible dhcp, I've done it so many times I forget which was the last one. Probably dhcp iirc


well, it's not that simple.... you see, I'm typing this up on my Windoze XP box, since there is no internet on my linux one. It's a different computer altogether.

EDIT:
I also notice the lack of IP and, for that matter, Internet...

How do I get the University Router to see my box?

Last edited by Diademed; 10-01-2004 at 04:29 PM.
 
Old 10-02-2004, 02:55 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by Diademed
well, it's not that simple.... you see, I'm typing this up on my Windoze XP box, since there is no internet on my linux one. It's a different computer altogether.

EDIT:
I also notice the lack of IP and, for that matter, Internet...

How do I get the University Router to see my box?
If you you output a text file save it to a floppy and then use it the other machine.

You would have to read up the Slackware networking config or post in the Slack section. I use Debian which is slightly different and sounds much easier to configure than the others. I would suggest using dhcp. The card hooking to the varsity router would have to be on the same subnet so you would have to speak to an admin to get an ip address to use for static routing.
 
Old 10-04-2004, 01:08 AM   #11
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
actually, I could never get a floppy drive to mount on my linux machine, and I recently fried my floppy on my Windoze box and haven't replaced it yet.

anyway... I'm starting to think that it's a problem on the University's end, not mine... maybe they aren't allowing my particular brand of linux access?

I have a cord going from the wall to a hub to my computers, and my roommate's computer, so there are 3 computers connected to our ethernet port at any one time (max)

argh... well, I'm a comp sci major, maybe I'll be able to hunt down a department head and see if we can't get some kind of a work around.

Unless anyone else has some suggestions?
 
Old 10-04-2004, 02:33 AM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by Diademed
I have a cord going from the wall to a hub to my computers, and my roommate's computer, so there are 3 computers connected to our ethernet port at any one time (max)
Are you sure that it isn't the hub or cable that is causing problems? Suggest checking them out. Its unlikely that the varsity servers worry about which os is being used.
 
Old 10-04-2004, 06:11 PM   #13
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
umm, no almost certain it's nothing between the wall and the computer.
 
Old 10-06-2004, 08:09 PM   #14
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
It seems like dhcpcd -n eth0 did the trick.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet not working digitalRyno MEPIS 5 07-09-2005 11:51 AM
ethernet card not working joshyjosh1289 Linux - Hardware 5 02-21-2005 02:48 PM
Ethernet Adapter not working or Network not working... phoenix07 Linux - Hardware 2 04-09-2004 06:58 PM
ethernet not working with gentoo 1.4 Aman9090 Linux - Hardware 1 11-09-2003 10:51 PM
trying to get ethernet working mcd Slackware 9 08-17-2003 02:43 AM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration