PDA

View Full Version : Network connection has stopped working, Cant activate network, see error msg below...


LithiumKid1976
2007-09-28, 12:53 PM CDT
Hi
i installed fedora last week, and have been connecting to the net via a broadband router.
when i turned it on today, it cant connect, and when i try to activate the network card i get this error message....


Determining IP information for eth0...dhclient(3143) is already running - exiting.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
failed.

The only thing i did any diffrently since yesterday, i issued a Halt command at the grub loading stage, everything else seems ok.

has any one any suggestions/???
Thanks
Damien

hermouche
2007-09-28, 12:57 PM CDT
hy,


Does the ping command works?
ping www.google.com

If it work so try the following:

code:
system-config-network

edit your DNS manually

Hope it helps

red

LithiumKid1976
2007-09-29, 06:37 AM CDT
Hi
thanks for your reply,
its working now, without me changing anything. it is a wired connection also. its funny, it worked ok under vista, (which is how i had to post it, but it wouldnt work under fedora...)

at least its back now! thanks again!

Damien

hermouche
2007-09-29, 07:42 AM CDT
Hi
thanks for your reply,
its working now, without me changing anything. it is a wired connection also. its funny, it worked ok under vista, (which is how i had to post it, but it wouldnt work under fedora...)

at least its back now! thanks again!

Damien

Glad for you

red

watersoup
2007-09-30, 09:53 AM CDT
Hi hermouche!!

I was wondering if you know how to automagically start the gateway during the bootup of the computer. I think I have the following issues.
0. I have Fedora core 7
1 I have two network connection eth0(local lan) wlan0 which is connected to internet.
2. Using Firestarter I was able to start the gateway where eth0 is connected to the local lan.
3. In order to do that I have to got system-config-network and activate my eth0 as well as wlan0; which actually uses ifup/ifdown for activation/deactivation.

Questions: When ever I start my computer I have manually do all the above step even though the firestarter daemon has been set to start it cribbs while booting, saying that "wlan0 is not active" or eth0 is not active...

I tried do this automagically by doing following in rc.local file
1. /sbin/ifup wlan0
2. /sbin/ifup eth0
3. /sbin/service firestarter start.
but the firestarter doesnot start and wlan0 gives the error " ..dhclient(3143) is already running - exiting."

any solution to automagically start the gateway would be greatly appreciated.

This is the manual process I do
1. in the system-config-network i activate eth0 and wlan0
2. then give command $ /sbin/service firestarter start ---- boom my gateway is up and running without any issue.

Thanks,
watersoup

hermouche
2007-09-30, 01:54 PM CDT
system-config-network

under General you should enable "Activate device when computer starts" for both eth0 and wlan0

Check also the ONBOOT=yes under the following code for both eth0 and wlan0:

cat /etc/sysconfig/network-scripts/ifcfg-eth0

you should get something like this:

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:C0:9F:FA:BE:6C
ONBOOT=yes........................................ .........................for both eth0 and wlan0
DHCP_HOSTNAME=localhost.localdomain
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=no

Hope it helps

red

watersoup
2007-09-30, 08:24 PM CDT
Hi !!!
I think when I do that my wlan does not get activated during bootup and hence the eth0 overseeds the wlan0 and when I start the firewall it tries does not try to get the connection going as one of the network connection (Wlan0) is still inactive. So it makes difficult to get through the gateway automagically.
Most of the time when I do "ifup eth0" internet connection through wlan0 is lost (since it is deactivated) but when I activate the eh0 connection through system-config-network it goes without interupting my original wlan0 INternet connection.

Thanks so much for help.
Watersoup

hermouche
2007-10-01, 01:22 AM CDT
Hi !!!
I think when I do that my wlan does not get activated during bootup and hence the eth0 overseeds the wlan0 and when I start the firewall it tries does not try to get the connection going as one of the network connection (Wlan0) is still inactive. So it makes difficult to get through the gateway automagically.
Most of the time when I do "ifup eth0" internet connection through wlan0 is lost (since it is deactivated) but when I activate the eh0 connection through system-config-network it goes without interupting my original wlan0 INternet connection.

Thanks so much for help.
Watersoup

give the output of :

ifconfig -a
iwconfig
ping localhost


/etc/sysconfig/ifcfg-eth0 and same for wlan0
cat /etc/resolv.conf
cat /etc/hosts

red

watersoup
2007-10-04, 09:01 PM CDT
Hi hermouche

I am sorry I wasn't able to check the messages...

Please see the output as you requested. I have made sure that the eth0 is not started when computed goes ON
and I start the wlan0 (which is automatic when modprobe ndiswrapper)
but when I give a command ifup eth0, it deactivates my wlan0 network and tries to acquire network add even though it has static address which makes it little confusing.
Thanks for taking interest in the issue..
Jag


$ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:0C:6E:6F:E9:69
inet6 addr: fe80::20c:6eff:fe6f:e969/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26988 (26.3 KiB) TX bytes:26649 (26.0 KiB)
Interrupt:21

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:3491 errors:0 dropped:0 overruns:0 frame:0
TX packets:3491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17704676 (16.8 MiB) TX bytes:17704676 (16.8 MiB)

wlan0 Link encap:Ethernet HWaddr 00:0F:B5:DE:B0:AA
inet addr:192.168.0.107 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b5ff:fede:b0aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:953 errors:0 dropped:0 overruns:0 frame:0
TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:399122 (389.7 KiB) TX bytes:136206 (133.0 KiB)
$iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"default" Nickname:"spartaR.greece.ca"
Mode:Managed Frequency:2.462 GHz Access Point: 00:13:46:A5:19:1C
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr=2346 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:56/100 Signal level:-60 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

$ping localhost

PING spartaR.greece.ca (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost6.localdomain6 (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from localhost6.localdomain6 (127.0.0.1): icmp_seq=2 ttl=64 time=0.026 ms


out put of : ifcfg-eth0
[root@spartaR jag]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=none
USERCTL=no
IPV6INIT=no
PEERDNS=no
NETMASK=255.255.255.0
IPADDR=192.168.1.1
HWADDR=00:0c:6e:6f:e9:69
ONBOOT=no


# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Wireless
DEVICE=wlan0
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
ESSID=default
CHANNEL=1
MODE=Managed
RATE='54 Mb/s'
HWADDR=00:0f:b5:de:b0:aa
ONBOOT=no

$cat /etc/resolve.conf
# generated by NetworkManager, do not edit!

search phub.net.cable.rogers.com
nameserver 192.168.0.1

$ cat /etc/hosts
::1 localhost6.localdomain6 localhost6
127.0.0.1 spartaR.greece.ca spartaR localhost.localdomain localhost

cola
2007-10-05, 12:07 AM CDT
How can I connect to the internet in Fedora 6?
I am new in Fedora 6.
I know the basic command.
Can anyone help me?
Thanks.

hermouche
2007-10-05, 12:53 AM CDT
this is my guess though:

It seems that NM "Network Manager" and "system-config-network" command are not compatible, so use either the GUI sytem-config-network or the NM "Network Manager" .

red

cola
2007-10-05, 02:23 AM CDT
Thank you hermouche.
Would you please tell me in detail about the "Network Manager" and "system-config-network" command and GUI system-config-network.
I use the terminal window for command.


Thanks again.