Hi,
I executed the command
echo /sbin/dhclient eth0 >> /etc/rc.d/rc.local
Yes now it is working on boot time.
Thanks all for your help
Thanks a lot
![]()
![]()
![]()
Roy
Hi
I tried changing 2 to the chkconfig runlevels. But no use.
Now I am trying to figure out, how to put a script in the profile that executes during startup.
Thanks
Roy
Hi,
I executed the command
echo /sbin/dhclient eth0 >> /etc/rc.d/rc.local
Yes now it is working on boot time.
Thanks all for your help
Thanks a lot
![]()
![]()
![]()
Roy
Nice Roy! starnge it did not work out of the box, but I admire you patience.
Hi All,
after I executed the command
echo /sbin/dhclient eth0 >> /etc/rc.d/rc.local
each time I login into the system I am getting an error message
"Couldnot look up internet adress for x1-6-.....9f-67(I am not giving the full address fearing any security problems?).This will present GNOME from operating correctly. It may be possible to correct the problmem by adding x1-6-.....9f-67 to file /etc/host"
So I did
echo x1-6-....-9f-67 >> /etc/hosts
But I still getting that error.
Also when I open terminal
it is showing like this
[root@x1-6-....-9f-67 ~]#
I am not experiencing any problem because of this. But like to make sure this is not a problem. How can I rectify it?
Thanks
Roy
add your ip and hostname to /etc/hosts like the following :
[YOUR IP ADDDRESS] [HOSTNAME]
Do not change your localhost line.
Hi,
Now my /etc/hosts is like this
127.0.0.1 localhost.localdomain localhost
x1-...-67 localhost.localdomain localhost
But still have the problem
Roy
[quote author=roy link=board=4;threadid=10233;start=0#msg92486 date=1108757360]
127.0.0.1 localhost.localdomain localhost
x1-...-67 localhost.localdomain localhost
[/quote]
The first line is perfect. But change the last one to include whatever domain you want. For example I have somthing similar to:
192.168.1.64 andrew andrew.schotty.net
Hi,
Now /etc/host
have something like this as the second line
x1-6-00-h0-12-5b-9f-67 roy.kuri roy
Do any body know from where I got this x1-6-00-h0-12-5b-9f-67 address.
It doesnt look like a normal ip address any way to me. Where it is saved so that i can change it? And what is that address mean? like my address in the network ( I am not in any network other than internet)
Thanks a lot
Roy
run /sbin/ipconfig and type the address that is given there instead of that goofy one you have now. I agree that is an odd one, and is most certianly NOT IPv6.
Hi I tried
/sbin/ipconfig
-bash: /sbin/ipconfig: No such file or directory
So i tried
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:7B:9F:67
inet addr:67.184.92.138 Bcast:255.255.255.255 Mask:255.255.252.0
inet6 addr: fe80::2e0:18ff:fe7b:9f67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9908 errors:0 dropped:0 overruns:0 frame:0
TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:914396 (892.9 KiB) TX bytes:107115 (104.6 KiB)
Interrupt:11 Base address:0xb000
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:2098 errors:0 dropped:0 overruns:0 frame:0
TX packets:2098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2253582 (2.1 MiB) TX bytes:2253582 (2.1 MiB)
and i added 67.184.92.138 into /etc/host file. But no help.
It looks like it is better to leave it alone for now
Thanks again.
Roy
Bookmarks