There is no file called that in FC3 I don't think.
You may want to try /sbin/dhclient eth0 instead
At least thats what it is in FC2 anyway.
When I tried
/sbin/dhcpcd eth0
result was
bash: /sbin/dhcpcd: No such file or directory
I dont know what is going wrong? please help
Roy
There is no file called that in FC3 I don't think.
You may want to try /sbin/dhclient eth0 instead
At least thats what it is in FC2 anyway.
Hi All,
![]()
![]()
![]()
![]()
![]()
Thanks a lot for your help. I can connect to internet now.
I run this command
[root@localhost ~]# /sbin/dhclient eth0
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
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:e0:18:7b:9f:67
Sending on LPF/eth0/00:e0:18:7b:9f:67
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.164.184.1
bound to 67.184.92.138 -- renewal in 135125 seconds.
Once I run this command I am unable to open any application. Even a browser
So what I did was. I first opened a browser and then run this command and then the I can connect to internet.
Only problem is that, I have to run this command each time I start the computer and once I run this command I am unable to open any application. But I am happy now. I been working desperately on this
Thanks a lot again
Roy.
try
Code:/sbin/dhclient eth0 &
[quote author=roy link=board=4;threadid=10233;start=0#msg92438 date=1108516024]
Once I run this command I am unable to open any application. Even a browser[/quote]
What DE (Desktop Environment) are you using? Gnome or KDE?
If you are using Gnome with Terminal in full screen, you can right click on the top and select to display only the window. Or you can minimize it if it fills up your screen.
You can't use any other application only for that session. You can open up anothe one and use it.
Or if you want, press "Ctrl+Alt+F1" all at once, log in there and issue the command you want. Then do "Ctrl+Alt+F7" to get back to the X session.
That's because you didn't enable the DHCP to start at boot time when you installed Fedora. Check it out here for more info.Only problem is that, I have to run this command each time I start the computer
I believed it's in System Setting --> Network area. I haven't used Fedora or Red Hat for a while so I'm going off of memory while helping others install Linux systems at Installfests.
Once you get that step over, you are good for the rest to connect to the Net. That's all that to it.
This is actually pretty simple to fix.
Start a text editor (VIM, PICO, or the like) and edit the following file:
/etc/sysconfig/network-scripts/ifcfg-eth0 and make sure the the BOOTPROTO= is set to DHCP and ONBOOT=yes.
This should run dhcp at every bootup.
10ded
Hi All,
I have edited /etc/sysconfig/network-scripts/ifcfg-eth0
But still I have to run /sbin/dhclient eth0 command each time I start the computer.
Thanks
Roy
from the cli run the following:
chkconfig --list | less
and look for the status of the dhclient or dhcp service. To set it to start during bootup:
chkconfig --level 345 dhcpd on
This starts the dhcp deamon at run levels 3, 4, and 5. This can also be done with the dhcp client.
If you have any questions about chkconfig type
man chkconfig at the cli
10ded
Hi,
When I tried
chkconfig --list | grep dh
This was the result.
dhcpd 0ff 1
ff 2
ff 3
n 4
n 5
n 6
ff
dhcpd 0ff 1
ff 2
ff 3
n 4
n 5
n 6
ff
dhcrelay 0ff 1
ff 2
ff 3
ff 4
ff 5
ff 6
ff
3, 4 and 5 of dhcpd are on because I executed this command
chkconfig --level 345 dhcpd on
But still DHCP is not running during boot up.
I am going nuts(if i am not already).
Thanks
Roy
Bookmarks