PDA

View Full Version : Keep looosing Network Connection?


fvs
14th April 2006, 20:55
Hello again,
Well I'm back, I have lost my connection to the web once more.
I have on my dual boot machine Win XP and Fedora Core 5, I was up and running on XP, then rebooted and booted up Fedora, only to find that i couldn't get on line? I have been running online in Fedora for about 6 days without a hitch. My Network say's I'm activated,But I can't get on line, My firefox is running, yet it can't find the servers? I tried to restart with the /etc/init.d/network restart command and all commands I know, Maybe someone else that had this problem can help? Thanks. fvs

sbovisjb1
15th April 2006, 00:51
Try using ndiswrapper to install the windows drivers.

fvs
15th April 2006, 11:19
Try using ndiswrapper to install the windows drivers.
Windows work fine, The lost connection is in Fedora. Thanks

falko
15th April 2006, 14:14
Does your Fedora system use DHCP or a static IP address?
What's in /etc/sysconfig/network-scripts/ifcfg-eth0?

fvs
15th April 2006, 15:16
Does your Fedora system use DHCP or a static IP address?
What's in /etc/sysconfig/network-scripts/ifcfg-eth0?

Hi Falko, I can't seem to get it together, :mad:

[root@localhost frank]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
[root@localhost frank]# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0...dhclient(3319) is already running - exiting.
exiting.
failed
[root@localhost frank]# dmesg | grep eth0
eth0: forcedeth.c: subsystem: 01565:2501 bound to 0000:00:14.0
eth0: no IPv6 routers present
eth0: no IPv6 routers present
eth0: no IPv6 routers present
[root@localhost frank]#
# nVidia Corporation MCP51 Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:E0:4C:F1:A3:FE
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
IPADDR=192.168.0.3
DEFAULTGATEWAY=192.168.0.1

NETMASK=255.255.255.0
GATEWAY=192.168.0.1
~
~
~
~
~

falko
15th April 2006, 15:30
Can you try this in /etc/sysconfig/network-scripts/ifcfg-eth0?

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:E0:4C:F1:A3:FE
IPADDR=192.168.0.3
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.1
DEFAULTGATEWAY=192.168.0.1
Restart the network afterwards: /etc/init.d/network restart
Your system should then have the IP address 192.168.0.3.

fvs
15th April 2006, 18:57
Can you try this in /etc/sysconfig/network-scripts/ifcfg-eth0?

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:E0:4C:F1:A3:FE
IPADDR=192.168.0.3
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.1
DEFAULTGATEWAY=192.168.0.1
Restart the network afterwards: /etc/init.d/network restart
Your system should then have the IP address 192.168.0.3.
OK, I have it all except I still can't get to the internet? Check it out:
ssword:
[root@localhost frank]# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@localhost frank]# ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from 192.168.0.3: icmp_seq=2 ttl=64 time=0.049 ms
64 bytes from 192.168.0.3: icmp_seq=3 ttl=64 time=0.045 ms
64 bytes from 192.168.0.3: icmp_seq=4 ttl=64 time=0.043 ms
64 bytes from 192.168.0.3: icmp_seq=5 ttl=64 time=0.043 ms
64 bytes from 192.168.0.3: icmp_seq=6 ttl=64 time=0.046 ms
64 bytes from 192.168.0.3: icmp_seq=7 ttl=64 time=0.045 ms
64 bytes from 192.168.0.3: icmp_seq=8 ttl=64 time=0.051 ms
64 bytes from 192.168.0.3: icmp_seq=9 ttl=64 time=0.045 ms
64 bytes from 192.168.0.3: icmp_seq=10 ttl=64 time=0.044 ms
64 bytes from 192.168.0.3: icmp_seq=11 ttl=64 time=0.048 ms
64 bytes from 192.168.0.3: icmp_seq=12 ttl=64 time=0.044 ms
64 bytes from 192.168.0.3: icmp_seq=13 ttl=64 time=0.045 ms
64 bytes from 192.168.0.3: icmp_seq=14 ttl=64 time=0.048 ms
64 bytes from 192.168.0.3: icmp_seq=15 ttl=64 time=0.044 ms
64 bytes from 192.168.0.3: icmp_seq=16 ttl=64 time=0.043 ms
64 bytes from 192.168.0.3: icmp_seq=17 ttl=64 time=0.047 ms
64 bytes from 192.168.0.3: icmp_seq=18 ttl=64 time=0.049 ms

--- 192.168.0.3 ping statistics ---
18 packets transmitted, 18 received, 0% packet loss, time 16998ms
rtt min/avg/max/mdev = 0.043/0.046/0.051/0.004 ms
[root@localhost frank]#

root@localhost frank]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost frank]#

falko
16th April 2006, 15:18
Is 192.168.0.1 your gateway? Can you ping other systems in your local network?


169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
Where does 169.254.0.0 come from?

sbovisjb1
16th April 2006, 17:48
What ethernet card do you use. Download its latest driver from the manufactures website and then extract them with cabextract (yum install cabextract). Install ndiswrapper

http://www.linuxquestions.org/linux/?q=answers/Networking/Ndiswrapper_in_Fedora_Core_5&

Then run cabextract on the .exe file.

Install the required .ini or .inf (google this) and then type depmod -a and then ndiswrapper -m and you should be good.

fvs
17th April 2006, 16:26
What ethernet card do you use. Download its latest driver from the manufactures website and then extract them with cabextract (yum install cabextract). Install ndiswrapper

http://www.linuxquestions.org/linux/?q=answers/Networking/Ndiswrapper_in_Fedora_Core_5&

Then run cabextract on the .exe file.

Install the required .ini or .inf (google this) and then type depmod -a and then ndiswrapper -m and you should be good.
Can't go to web site, I can't get online with Fedora 5, I'm writing you in Win XP system. Need to get online in linux fedora Core5.

dishawjp
17th April 2006, 17:14
Fvs,

It looks like your eth0 is coming up fine, but that you may not be getting DNS information.

For giggles, try to ping yahoo.com by using its IP address:

ping 66.94.234.13

and see how that goes. If that works then it is a DNS issue.

HTH,

Jim

fvs
18th April 2006, 19:09
[root@localhost frank]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:F1:A3:FE
inet addr:192.168.0.250 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fef1:a3fe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:201 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0xe000

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:2220 errors:0 dropped:0 overruns:0 frame:0
TX packets:2220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2677417 (2.5 MiB) TX bytes:2677417 (2.5 MiB)
Tried to ping Yahoo.com & 66.94.234.13 , can't go through

falko
18th April 2006, 23:03
Is 192.168.0.1 your gateway? Can you ping other systems in your local network?

22hosting
21st April 2006, 12:37
I really hope this isn't as easy as I think it is. If you can ping an ip address (any address at all) your ethernet is working, and network connectivity is NOT your issue. Your DHCP appears to have assigned you an address (as show by ifconfig).

If you try pinging by name (NOT ip) you will probably find it can't. The reason being it CANNOT resolve names. You need to specify a dns server in /etc/resolv.conf .

Therefore firstly :
cat /etc/resolv.conf
to see what you got.

Then pico/nano/vi your /etc/resolv.conf file and add in this at the top
nameserver 82.138.242.202

I would only recommend using this entry for a short time as it's my DNS server, and your ISP should have one you can use instead. You could probably also use your routers/gateway IP (192.168.0.1 or whatever it is).

UPDATE :
Ok, i decided to re-read a couple of posts here. You cannot access an external network. So check the following :
cat /etc/sysconfig/network

Make sure you have a line like : GATEWAY=192.168.0.1
You must specify your gateway address else you'll never get an external connection.
________
Live sex (http://livesexwebshows.com/)

fvs
22nd April 2006, 15:40
Thanks for reply, I have it working now with a lot of tweaking and luck,
Don't ask me how, i just set it back to DHCP and it came back on reboot?
Hope it lasts after next update. Thanks.:) fvs

fvs
24th April 2006, 12:38
I can't go any further,I'm stuck with out an internet connection.
Once again I take one step forward and two steps back, This time all was going well with my internet and I thought that I would start going ahead and download the programs that would help personalize my system, I used update to update my system the and commenced to install samba, anjuta and a few other things, I guess in the update it included a new kernel 2.6.16 and when I rebooted once again and found Once more I hadn't a connection to the web and no server. Went through all the connands & code we did in the last two weeks the last one, etc/init.d/network restart and found error message that said something about errors and refered me to /etc/syscongig/network-scripts/ifup-eth, I don't know what I should look for? This FC5 is rather differcult to handle for a novice.
I'm glad to have your help, Thanks fvs

22hosting
24th April 2006, 16:50
Check /etc/sysconfig/network-scripts/ifcfg-eth0
it will contain your ethernet address information.
________
LilyH (http://www.girlcamfriend.com/cam/LilyH/)