Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-12-2005, 08:47 PM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Rep:
|
Fedora Core3, do not have a route table and no eth0
Fedora core 3, try to set up the network with "system settings" "network" it shows eth0 there and looking at the details it all seems normal, but when I try to
activate it, it shows it active for about 10 seconds and then goes back to inactive. I have searched many pages of similiar questions and tried many things. Doing /sbin/ifconfig looks ok, but it does not have a IP address. /sbin/route has no information, only the headings for the enteries.
do #ifconfig eth0 <ipaddress>, appears to work, but it does not get in ifconfig
do #route add -net 0.0.0.0 netmask 255.255.255.0 gw <gw address> get "network is unreachable"
do #route add -net <network quad> net mask 255.255.255.0 dev eth0 get
"no such device" Have done this using dhcp and with static ip addresses.
The computer is a IBM Think Pad 600X dual booting with win 2k which easily connects to the LAN!!!!! Have FC3 working ok on a old Pentium 3-450 desktop that works just fine, I have tried to see where the difference might be, but have not been able to identify it. By now this is driving me nuts, can anyone help?
|
|
|
09-13-2005, 01:08 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
try this and see it this works:
route add -net 0.0.0.0 gw <ipaddress>
For ifconfig try using the 'up' switch which tells it to enable the device:
ifconfig eth0 <ipaddress> up
|
|
|
09-13-2005, 10:57 AM
|
#3
|
Member
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Rep:
|
try to ping yourself from your own computer using your IP and see if it times out after some time as you are sayin.............
|
|
|
09-13-2005, 05:23 PM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
To fotoguy - when do the suggested route add .....get
SIOCADDRT: Network is unreachable
and the ifconfig suggestion it does not get entered into ifconfig the next time I execute it??
To ALinux, do ping for the ipaddress of the computer - get network is unreachable.
Thanks for your suggestions, but no winner yet!
|
|
|
09-13-2005, 06:06 PM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Quote:
Doing /sbin/ifconfig looks ok, but it does not have a IP address
|
If there's no IP, you're going nowhere but loopback.
Quote:
... win 2k which easily connects to the LAN!
|
So there is a DHCP server running.
You may need to run a DHCP client.
Try it manually. Here are two of my earlier posts on the subject:
http://www.linuxquestions.org/questi...86#post1801286
http://www.linuxquestions.org/questi...44#post1780244
Once you see if that solves the problem, you can worry about getting it into your init scripts
|
|
|
09-14-2005, 01:36 PM
|
#6
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
Follow up
To: archtoad6
At first I had no results trying dhc <tab>, so installed the dhcp - A DHCP from the Fedora intall sw. Now when I do the dhc<tab> I get:
dhclient dhcp6c dhcrelay
dhclient-script dhcpd
Still have an empty route table and no IP address in /sbin/ifconfig
Note, I am running this computer with a static ip address, so wonder if the dhcp is necessary?
I looked at your posts and tried to follow them as best I could. Any further help will be appreciated.
|
|
|
09-14-2005, 01:47 PM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Can you easily verify there is a DHCP server running on your LAN? It's probably on you router. I assumed this because W2k was connecting, but it's possible you configured it w/ a static IP.
Assuming there is a DHCP server running, run as root: You might also read, even post if it's not to long or wide, dhclient-script .
I hope I'm not missing something in your Q.
|
|
|
09-14-2005, 03:38 PM
|
#8
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
Information requested
Here is the result of doing dhclient
[root@localhost /]# dhclient
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth0/00:e0:98:7c:77:ed
Sending on LPF/eth0/00:e0:98:7c:77:ed
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 65185 seconds.
And here if /sbin/ifconfig
[root@localhost /]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:98:7C:77:ED
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19722 (19.2 KiB) TX bytes:6260 (6.1 KiB)
Interrupt:3 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2110 errors:0 dropped:0 overruns:0 frame:0
TX packets:2110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1804381 (1.7 MiB) TX bytes:1804381 (1.7 MiB)
I could not find a dhclient-script file - does that mean something?
There was a dhclient-eth0.conf file, but it only has one line that said
"send host-name "ibm"; temporary RHL ifup addition"
Yes there is a dhcp server running, it is in the Linksys router and it assigns ip's to all the
orhter computers on the network, mostly Windows, but do have 2 or 3 Linuxes running some of the time. This is really a mystery to me!
|
|
|
09-14-2005, 04:05 PM
|
#9
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
correction to last post
I found the dhclient-script file, it is about 12.9kb, if that will not cause a problem with the
forum I will send it on a post, or is there another way?
|
|
|
09-14-2005, 05:52 PM
|
#10
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Quote:
... dhclient-script file, it is about 12.9kb
|
How many lines is that?
Does it look interesting?
UPDATE: I am sitting in a room a Linux users, one of whom just read me the 1st few lines of /sbin/dhclient-script; don't bother posting it -- it's waay too long to clutter the forum with & almost sounds like a bad joke.
Vis-a-vis the real problem -- Would you be willing to try one of the live CD's? - Knoppix -- great auto-detect, KDE default
- SImplyMEPIS -- good auto-detect, KDE default
- Ubuntu -- good auto-detect, GNOME default
It's not clear whether you have a Linux problem or an FC problem, or perhaps a hardware problem. (It's being jokingly suggested that you have a "Win NIC").
|
|
|
09-14-2005, 08:16 PM
|
#11
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
problem continued
Yes I can try the live CDs I have Memphis, Atmission, and Knoppix. But be advised I know about win nics, this particular pccard has been used with Lycoris, and Red Hat 9.on the same compuer, so that can not be an issue!!!! So is it worthwhile to do that?
|
|
|
09-15-2005, 05:22 AM
|
#12
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Does fedora core 3 have a /etc/rc.d/rc.init1 file?
If it does you maybe able to edit the script and manual add the configuration, this file is used a startup to configure the nics. Slackware 9 has this so it maybe the same for fodora, if you have it, it may look something like this:
#! /bin/sh
# /etc/rc.d/rc.inet1
# This script starts up the base networking system.
#
# Version:
# @(#)/etc/rc.d/rc.inet1 8.1 Tue May 28 15:27:39 PDT 2002 (pjv)
# Edit these values to set up your first Ethernet card (eth0):
IPADDR="192.168.1.15" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
#USE_DHCP=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME="CCHOSTNUM-A"
# Edit these values to set up your second Ethernet card (eth1),
# if you have one. Otherwise leave it configured to 127.0.0.1,
# or comment it out, and it will be ignored at boot.
IPADDR2="127.0.0.1" # REPLACE with YOUR IP address!
NETMASK2="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth1 using DHCP:
#USE_DHCP2=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME2="CCHOSTNUM-A"
# Edit the next line to point to your gateway:
GATEWAY="192.168.1.1" # REPLACE with YOUR gateway!
|
|
|
09-15-2005, 09:36 AM
|
#13
|
Member
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114
Rep:
|
Whats the output of
ifup eth0
when run as root
|
|
|
09-15-2005, 11:24 AM
|
#14
|
LQ Newbie
Registered: Jan 2004
Location: South Bend, IN
Distribution: SUSE 9, Fedora Core 3, Libranet 3.0, Xandros 3.0 Mandrake 10.1
Posts: 11
Original Poster
Rep:
|
followup on suggestions
To: archtoad6 - I tried a live CD - without success, probably because that Linksys card is not listed in their eth0 card selections. That with your question about whether it is a "Win" eth0 card (even though it had previously worked with two other Linux distros) caused me to change to a 3com 3c574-tx card which is listed in the available cards. This was last night - and it worked just like it should, ifconfig had a IP address and I could connect to the LAN! BUT this morning it was back to the previous condition - no ip address in ifconfig and could not activate the eth0 card! Ugh - how disapointing. Any further suggestions please?
To: fotoguy - Fedora Core 3 does not seem to have a /etc/rc.d/rc.init1 file. In /etc/rc.d there are the following: init.d, rc, rc0.d, rc1.d, rc2.d, rc3.d, rc4,d, rc5.d, rc6.d, rc.local, rc.sysinit.
Maybe one of these has the info you are looking for?
To: abhijeetudas - The output of ifup eth0, ran as root is:
"Determing IP information for eth0....hdclient (4803) is already running - exiting failed"
Thanks for all the responses - please keep trying!
|
|
|
09-15-2005, 12:05 PM
|
#15
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
1. the reference to a "Win NIC" was a joke from one of a room full of Linux geeks. -- I was at our regular Wed. Linux Workshop & had access to a bunch of other talent. None of us has ever actually heard of such thing. Sorry if it caused you extra work, I was trying to make the tongue-in-cheek nature of the remark clear.
2. Which live CD did you try? Esp. what did Knoppix report or did MEPIS work?
3. I am beginning to lean toward "FC3 doesn't like you or maybe your NIC" -- i.e. I am almost stumped.
|
|
|
All times are GMT -5. The time now is 04:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|