-
Static IP address
Any ideas how a hdd installation can be configured to a static ip address on boot up? (I am currently running netcardconfig each time my computer starts up!)
-
Senior Member
registered user
you could save your home directory and the configs with the two comands (in the kde menus).
that is: klick yourself to these.
KNOPPIX | Configure | Create a persistent KNOPPIX home
AND (taken from the faq at http://www.knoppix.net/docs/index.php/FaqUsing )
directory
Go to the K-menu > KNOPPIX > Configuration and choose "save config", you can save to floppy or to an already existing partition on the harddrive. (on a windows partition s fine)
sadlt that about wndows only aplies if you do
NOT have NTFS on the partition.
To restore it, at the "
boot:" prompt type in "knoppix myconfig=scan", and it should find and restore your saved settings at boot time.
if you save to hdd or floppy or usb pendrive you can then reopen with the cheatcodes
boot: knoppix home=scan myconfig=scan
and of course any other necesary cheatcodes, you should have all settings/bookmarks... intact.
-
Senior Member
registered user
oops, hdd installed!
eeeh, then it SHOULD keep the settings.
have you gotten any error messages?
what does dmesg|grep eth say?
-
On boot up the ethernet card is detected - it just defaults to dhcp - although it does store the ip address in the file /etc/sysconfig/network-scripts/ifcfg-eth0, it just ignores it on boot.
I've tried passing the kernel option nodhcp, but then the network card isn't configured at all.
Oh well I had better start delving into the init.d scripts.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
jdally
although it does store the ip address in the file /etc/sysconfig/network-scripts/ifcfg-eth0, it just ignores it on boot.
I think it is /etc/network/interfaces you need to be looking at.
-
Ok I've not got static IP address on my hdd install, by doing the following:-
edit /etc/init.d/networking
Change the first "ifup -a" to "ifup --force -a"
cd cd /etc/rc5.d/
ln -s /etc/init.d/networking S90networking
Changing /etc/init.d/networking is a bit ugly, but it works.
You can also add other links to /etc/rc5.d/ for other services at boot, eg ssh:-
ln -s /etc/init.d/ssh S99ssh
-
Senior Member
registered user
A cleaner solution is to edit /etc/pcmcia/network.opts and put the static lines in there accordingly except for dns. Also, if you needed to add startup scripts to start services, open a console as root and type:
Code:
update-rc.d servicetostart defaults
and press enter.
Similar Threads
-
By RT in forum Networking
Replies: 1
Last Post: 06-26-2004, 09:18 AM
-
By Flower in forum Networking
Replies: 3
Last Post: 05-25-2004, 04:57 AM
-
By A. Jorge Garcia in forum General Support
Replies: 3
Last Post: 03-06-2004, 12:18 AM
-
By koselan in forum Networking
Replies: 2
Last Post: 12-15-2003, 06:21 AM
-
By koselan in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 07-18-2003, 12:43 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![LOT OF ( 50 ) 8GB Mixed Brand / Mixed Speed DDR4 Desktop Memory picture](/store/img/g/yBIAAOSwCnZmge~k/s-l225/LOT-OF-50-8GB-Mixed-Brand-Mixed-Speed-DDR4-Desktop.jpg)
LOT OF ( 50 ) 8GB Mixed Brand / Mixed Speed DDR4 Desktop Memory
$499.99
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM picture](/store/img/g/v6YAAOSwwylmYfZo/s-l225/SK-Hynix-8GB-DDR4-1Rx16-PC4-3200AA-HMAA1GS6CJR6N-X.jpg)
SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM
$10.00
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
![Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2 picture](/store/img/g/PxMAAOSw~T1mYfdq/s-l225/Micron-8GB-DDR4-1Rx16-PC4-3200AA-Laptop-RAM-Memory.jpg)
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$10.00
![(4 Piece) SK Hynix HMA84GR7AFR4N-VK DDR4-2666v 128GB (4x32GB) Workstation RAM picture](/store/img/g/ImsAAOSwMi1l658f/s-l225/-4-Piece-SK-Hynix-HMA84GR7AFR4N-VK-DDR4-2666v-128G.jpg)
(4 Piece) SK Hynix HMA84GR7AFR4N-VK DDR4-2666v 128GB (4x32GB) Workstation RAM
$199.95
![16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM picture](/store/img/g/et0AAOSwiyBlc1dP/s-l225/16GB-DDR4-Corsair-Vengeance-LPX-3000-Mhz-1-35V-Des.jpg)
16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM
$30.89