LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-31-2003, 01:32 AM   #1
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Rep: Reputation: 15
Unhappy Can't activate network device


Hi,

I have RH8 with a NIC card that it recognises on boot. I am using Gnome GUI and trying to connect to a LAN hub which connects to a router which connects to a cable modem.

My other boxes are XP and all are fine on the network and web.

I am not sure about the addresses and host name I am to use in the configuration wizard.. Where do I get these from?

Thanks

oz

 
Old 10-31-2003, 01:34 AM   #2
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
DHCP should do all that for you. Do you have DHCP enabled?
 
Old 10-31-2003, 01:37 AM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
wizards suck.

open an terminal and type the following:

/sbin/ifconfig

if you dont see eth0, try:

/sbin/ifconfig -a or /sbin/ifconfig/eth0

you should get info on eth0 either way, -a will show u all interfaces.

if you see eth0 now, but didnt see it with just an /sbin/ifconfig

then try /sbin/ifconfig eth0 up

then, if the router issues ip addreses for your network (DHCP):

dhcpcd eth0 to get an ip address

this should work. if not, let us know where it went all bad for you.
 
Old 10-31-2003, 02:40 AM   #4
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Thanks.

I got a result only with the-a. It was..

RX Packets all 0's
TX packets all 0's
no collisions txque 100
RX bytes 0 TX bytes 0
Int 10 etc

with /sbin/ifconfig eth0 up - no result, just went to next empty command line

with dhcpcd eth0 - no such file or dir

Thanks again..
 
Old 10-31-2003, 03:24 AM   #5
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
I have since done.. /etc/rc.d/init.d/dhcpd start and it just took me to the next empty command line.

I then did a /sbin/ifconfig and got this..

UP BROADCAST RUNNING MULTI
RX packs 156 errors rest are 0's
TX packs all 0's
collisions 0 txqueue 100
RX bytes 17608 (17.1kb) TX bytes 0
Int 10

Maybe closer ??
 
Old 10-31-2003, 04:16 PM   #6
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Help still needed please.

As well as the above post, when I ping I get ' 'Network Unreachable'
 
Old 10-31-2003, 04:49 PM   #7
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
This is my latest effort - but its still not getting thge network.

with ifconfig I have..

Line 1. Link encap: Ethernet HWaddr 00:60 etc
Line 2. UP BROADCAST etc
Line 3. RX Pack 1161 errors - rest are 0's
Line 4. TX packs all 0's
Line 5. Collisions 0's - TX eque 0's
Line 6. RX bytes 143421 TX 0
Line 7. Int 10 base o

I also get a loopback congig which does give the inet address on the second line .. 127.0.01 Masl. 255.0.0.0. also UP LPPOP RUNNING


With lspci I get the card..

00:0d.0 Ethernet Controller: Realtek Semi Conductor Co .RTL-8139/ etc...

lsmod I get..

8139too -- I noticed this # is in the Realtek line.

I am lost here as I still cannot get to the network. I am missing something somewhere but have no clue where to go now.
 
Old 11-01-2003, 10:39 AM   #8
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Alright, you have the interface up. Now try

dhcpcd eth0

Then go back and try ifconfig eth0. Tell us what you see. If your access provider gave you a "DHCP Server Name" (most don't), then you need to use:

dhcpcd -h HOSTNAME eth0

Where HOSTNAME should be replaced by the DHCP hostname that your provider gave you.

Now, the problem is, you don't want to go through this every time you restart your computer. I don't use RedHat, so I can't give you specific instructions. Some else doubtless will.

However, the comment made before that 'wizards suck' is a bit limited. Once you learn how to administer a Linux system with out wizards, then for you they will suck. But till you have learned enough to do that, wizards can be a great help. So go ahead and try the wizard again. The key point is that you need to tell the wizard that you want to use DHCP. It should work for you now.
 
Old 11-01-2003, 07:07 PM   #9
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Hi and thanks.. Got excited to think I am so close but..

I get the 'command not found' message with dhcpcd eth0. I have tried it at root in sbin and etc./rc.etc but still the same answe. I am not sure how I can make a search of all files across the HD to find it either.

Thnks so far, really appreciate the help.
 
Old 11-02-2003, 04:00 AM   #10
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Still trying...

I am not sure whether I have done the correct thing or not but I have entered,

ifconfig eth0 up 192.168.168.110

With ifconfig eth0 I now see the NIC is UP with..

inet adr 192. 168.168.110 Broadcast 192.168.168.255.

RX packs 429 errors
TX 41 errors
collisions 0
TX Bytes 76148

I used the 192.168.168.110 address becaise the network already has XP boxes with IP's 192.168.168.100 up to 108. The gateway is 192.168.168.1.

I can ping all the IP's within that range including gateway 1, but get the 'unknown host' when I put an name address in say, ozstar.com

I am not sure if I have the correct figurers in the GUI Network Config area. They are..

Eth0 IS active.
(Edit) Auto DHCP
(Route) Destin Netwk 192.168.168.110 - Gateway 192.168.168.1
(Hosts) IP 192.168.168.110 Name LinuxBox Alias localhost.localdomain localhost
(DNS) Primaray 38.9.211.2 Se 38.9.221.2 Domain name: MSHOME.NET

Please advidse me what I have incorrect.
 
Old 11-02-2003, 04:37 AM   #11
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Ah Ahh.. I have got the network. Not sure what happened, but have the above configs (I think( I will check. but..

I can't get to the Internet. The gateway IS 192.168.168.1 for all the others on the LAN.

Please help with this one last bit here.. I've spent 3 days on this..

Thanks
 
Old 11-02-2003, 04:43 AM   #12
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
try /sbin/dhcpcd eth0

sounds like it's not in your path. sorry i forgot to put /sbin/ on the front of it in my original post. if this is the case, you'll get the same error if you leave it off of ifconfig.

make sure u are doing this as root also.
 
Old 11-02-2003, 05:01 AM   #13
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
Thanks..

Yes I checked it again in root and /sbin/ but both times I get the error 'No such file or directory' Strange!
 
Old 11-02-2003, 05:06 AM   #14
ozstar
Member
 
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143

Original Poster
Rep: Reputation: 15
I can actually get to all my boxes on the LAN now although just see their dirs but can't get [past that to the files altho I have some of them shared.

I also get to the Linux box from my main XP box. So this is all okay but still can't get the Internet .

So close but so far....
 
Old 11-02-2003, 05:06 AM   #15
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
so this..

#updatedb (leave off the # of course, that's just tye symbol for root prompt)
#slocate dhcpcd | grep /dhcpcd | less

and see if u see the command in one of the *bin folders


you could even try

#slocate dhcpcd | grep bin/dhcpcd | less


on my system it gave me

/sbin/dhcpcd

Last edited by Robert0380; 11-02-2003 at 05:08 AM.
 
  


Reply



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
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
cannot activate network device oliwally Linux - Networking 7 07-26-2004 01:42 AM
Cannot activate network device faqs Linux - Networking 13 05-26-2004 09:45 PM
Cannot activate network device... denisec Linux - Networking 5 08-20-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:08 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
Open Source Consulting | Domain Registration