Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: hd-install and network?, static ip config lost on reboot?< Next Oldest | Next Newest >
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: April 28 2005,16:32 QUOTE

did you do an ifconfig -a

Perhaps putting that in a file such as /etc/network.kickstart
Quote
#!/bin/sh

ifconfig eth0 down
ifconfig eth0 10.0.0.202 netmask 255.255.255.0
route add default gw 10.0.0.138
echo 10.0.0.202 > /etc/resolv.conf
hostname linuxpdm
ifconfig eth0 up


And then in the autostart script add
Quote
# Making ethernet static
echo "Kickstarting network"
/etc/network.kickstart &

Make sure you chmod it to 700

Give that a shot..it should work ok for you

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 28 2005,16:41 QUOTE

Also,

You should add the word

nodhcp

to the boot command line or to the "append" line in your bootloader (IE: LILO or GRUB)

and then rerun the bootloader program.
Back to top
Profile PM 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 28 2005,19:59 QUOTE

cbagger01
I added nodhcp right here (in /etc/lilo.conf)
# append=""
    99 append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi h        dh=scsi nodhcp apm=power-off nomce noapic"
Is this the correct way and place?

AwPhuch
You say something about a autostart-script. Sorry, but where can I find this file? Because I like the kickstart-method


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 28 2005,21:46 QUOTE

Yes, this is the correct place.

Don't forget to:

sudo lilo -v

after you save your file in order to activate your changes.
Back to top
Profile PM 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 29 2005,07:33 QUOTE

This works for me great, thanx !!!

--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
9 replies since April 15 2005,16:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: hd-install and network?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code