Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with static ip

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> HD Install
View previous topic :: View next topic  
Author Message
mkjtravel



Joined: 20 Sep 2006
Posts: 7

PostPosted: Wed Sep 20, 2006 5:46 pm    Post subject: Problems with static ip Reply with quote

Hi

I have installed DSL-not on harddisk hda2 and have great problems to change the confiuration for static ip.
I have already changed the file /opt/bootlocal.sh to match my situation. But they are not accepted after reboot.
I have set it o be

ifconfig eth0 192.168.0.199
route add default gw 192.168.0.253
echo nameserver XXX.XXX.XXX.XXX > /etc/resolv.conf
ifup eth0

What am I doing wrong?

Thanks for help

Juergen
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Wed Sep 20, 2006 7:29 pm    Post subject: Reply with quote

Make sure you also add the nodhcp option to your boot parameters in grub or lilo.
Back to top
View user's profile Send private message Visit poster's website
mkjtravel



Joined: 20 Sep 2006
Posts: 7

PostPosted: Wed Sep 20, 2006 8:32 pm    Post subject: How to append nodspc Reply with quote

[quote="roberts"]Make sure you also add the nodhcp option to your boot parameters in grub or lilo.[/quote]
But how is that done? I have tried several things. I use grub and have ended to the menu.lst at the very end the line
APPEND="nodhcp"

it didn't work. Is that correct?

Thanks

Juergen
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Wed Sep 20, 2006 9:03 pm    Post subject: Reply with quote

This is what I have:

title DSL-N
kernel /boot/linux root=/dev/hda2 quiet vga=791 noapm alsa nodhcp frugal noprompt noeject fromhd=/dev/hda2 restore=hda3 mydsl=hda3
initrd /boot/minirt.gz
Back to top
View user's profile Send private message Visit poster's website
mkjtravel



Joined: 20 Sep 2006
Posts: 7

PostPosted: Wed Sep 20, 2006 9:42 pm    Post subject: Reply with quote

[quote="roberts"]This is what I have:

title DSL-N
kernel /boot/linux root=/dev/hda2 quiet vga=791 noapm alsa nodhcp frugal noprompt noeject fromhd=/dev/hda2 restore=hda3 mydsl=hda3
initrd /boot/minirt.gz[/quote]

Still does not work. I get the following message as the computers boots:
Route: xxxxxxxxxxxxx Files exists

The echo command is not executed. /etc/resolv.conf contains the old nameserveradress and not the on it should have.

Any idea

Juergen
Back to top
View user's profile Send private message
mkjtravel



Joined: 20 Sep 2006
Posts: 7

PostPosted: Thu Sep 21, 2006 6:18 am    Post subject: Reply with quote

[quote="mkjtravel"]

Still does not work. I get the following message as the computers boots:
Route: xxxxxxxxxxxxx Files exists

The echo command is not executed. /etc/resolv.conf contains the old nameserveradress and not the on it should have.

[/quote]

Does work now. Looks like a reboot ist not enough. After I turned the machine off and on the parameters were accepted.

Juergen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> HD Install All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group