LinHES Forums http://forum.linhes.org/ |
|
IP address setup http://forum.linhes.org/viewtopic.php?f=6&t=15264 |
Page 1 of 1 |
Author: | gatorback [ Thu May 17, 2007 10:08 pm ] |
Post subject: | IP address setup |
I installed R5C7 twice on to a smaller test HDD: my intent was to experiment on the small drive before trying new things on the 'production' drive. The reason I installed a second time was because I could not set the IP address correctly in the install procedure. I wanted the IP address to be 192.168.2.20 however, it came up as 192.168.2.201. I modified the file: ifcfg-eth0 in /etc/sysconfig/netowrk-scripts: DEVICE=eth0 IPADDR=192.168.2.20 NETMASK=255.255.255.0 NETWORK=192.168.2.0 BROADCAST=192.168.2.255 ONBOOT=yes rebooted the system and eth0 was configured as 192.168.2.201. Doh! Any guidance for setting the IP address is appreciated. |
Author: | Too Many Secrets [ Thu May 17, 2007 11:22 pm ] |
Post subject: | |
There are likely 50 ways to make the change you need. I like the netcardconfig script (as root) use --force if needed to reconfigure. |
Author: | gatorback [ Thu May 17, 2007 11:41 pm ] |
Post subject: | |
Thank you. This worked very nicely. ![]() |
Author: | borgednow [ Sun May 20, 2007 12:01 am ] |
Post subject: | |
Interesting bug. I wonder if setting it to IPADDR=192.168.2.020 would have worked as well. |
Author: | gatorback [ Sun May 20, 2007 8:47 am ] |
Post subject: | |
Hi borgednow, I am not sure I understood your comment. If I can help\contribute in any way please let me know. |
Author: | harani [ Tue Jul 17, 2007 6:09 am ] |
Post subject: | |
I had this problem too. i think you'll find that the 1 in the 201 was already there. when you are overwriting the existing address you'll find that whatever the cursor is currently sitting over gets blanked out from you seeing it then get overwritten when you type or reappers if yu move the cursor on when overwriting the default address you typed in 192.168.0.20 and the exisitng 1 was hidden by the cursor after the 20. whne you hit OK I did this twice before figuring what the problem was. to save confusion wipe out the entire default address and put you own in from scratch to make sure thaere are no "hidden characters". Anyone know why the cursor blanks characters it's on top of ? it's kind of annoying and leads to stupid msitakes like this when setting IP addresses |
Author: | tjc [ Tue Jul 17, 2007 6:40 am ] |
Post subject: | |
020 would likely be taken as an octal number yielding 16 decimal. The cursor problem is just a bad color combination thing. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |