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: /etc/network/interfaces file not read?< Next Oldest | Next Newest >
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: June 30 2008,15:04 QUOTE

The original /etc/network/interfaces only mentioned the loopback interface. In spite of that eth0 was configured in dhcp mode, which works perfectly for my local network.
Now I want to configure eth1 and eth2 with a static IP. I modified /etc/network/interfaces for that, but it is never taken into account  at boot time. I can add a
Code Sample
sudo ifup eth1
(or eth2) in bootlocal.sh (which works in spite of an error message: ip: RTNETLINK answers: File exists) but I guess I am missing some DSL dedicated configuration file.
By the way, this is a frugal install and /etc/network/interfaces is in .filetool.lst
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 30 2008,15:18 QUOTE

The boot-time system configuration is done by /etc/init.d/knoppix-autoconfig. Local boot-time scripts are executed from bootlocal.sh. Those should be adequate to get your other interfaces up. Where are you executing pump for the other two interfaces? Try bootlocal.sh (no sudo required).
pump -i eth1
pump -i eth2


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 30 2008,15:22 QUOTE

I'm figuring that that file, like most of the other knoppix-based files, are ignored.

From the wiki:
http://damnsmalllinux.org/wiki....ings.3F

Add your static ip commands to the file bootlocal.sh
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 30 2008,15:23 QUOTE

Quote (lucky13 @ June 30 2008,11:18)
The boot-time system configuration is done by /etc/init.d/knoppix-autoconfig. Local boot-time scripts are executed from bootlocal.sh. Those should be adequate to get your other interfaces up. Where are you executing pump for the other two interfaces? Try bootlocal.sh (no sudo required).
pump -i eth1
pump -i eth2

Lucky, he wants static ip's, not dhcp ip's. (Pump = dhcp client)
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 30 2008,15:27 QUOTE

Whoops, off to a really bad start today. Never mind...

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
5 replies since June 30 2008,15:04 < 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: /etc/network/interfaces file not read?

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