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: small netowrk question, ifup< Next Oldest | Next Newest >
realpc Offline





Group: Members
Posts: 6
Joined: Oct. 2004
Posted: Oct. 21 2004,09:23 QUOTE

hello all.
i have tried all i know and been through this and other forums to try and find an answer and this is my last resort.
when booting dsl i need to run ifup eth0 in order for the network card to function, all the setting (ip, gw, snm) are there and used but before it will work on the network i need to run the above command

as this box will be a file server i need it to happen automatically.

its a hd install, its the latest version.

i have tried adding this line to the /etc/network/interfaces file and nothing.

i have also tried adding this line the the same file in /etc/r5.d that i run smbd and nmbd from and they start up fine, but eth0 still needs to be enabled using ifup eth0 from a terminal window.

any ideas please?

many thanks in advance.
Back to top
Profile PM 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: Oct. 21 2004,09:54 QUOTE

You could try to put it in /opt/bootlocal.sh. Not a very clean solution (and I have no idea if it will work).
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Oct. 21 2004,16:13 QUOTE

place that command in /etc/rc5.d/S99bootlocal and it will autostart, in fact all commands for "startup" should go in there, even the swapon command works in there

S99bootlocal is like the /etc/rc.d/rc.local file in Redhat

Kinda like the "startup" dir on a M$ system

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 
steve
Unregistered






Posted: Oct. 21 2004,17:20 QUOTE

hi all.

tried all the above suggestions, done them all and te eth0 device wont come up on boot.

weird thing is i ping the dsl box with a -t from a m$ box, and as the dsl system comes up it settles at the login prompt. the m$ box has been unable to ping the dls box so i have a load of request timed out messages.

as soon as the dsl box settles at the login i get about 30 responses back on the m$ box and then after that it goes back to request timed out.

login and things are the same, still need to ifup to get anything out of it.

its a silly irritating problem but i guess life would be boring without them.

i have changed the nic also for a different speed and make, no better.

i dont know if this has any bearing but under the dls control panel dhcp is enabled, allthough i have set my /etc/network/interfaces file to static.and have run the netcardconfig and asked for static.

when i alter the control panel to turn off dhcp then after a reboot dhcp goes back to on again.

just prior to the login screen, there is a line (in green) that says network device eth0 detected broadcasting for ip (backgrounding).

again thanks for any advice.

steve.
Back to top
realpc Offline





Group: Members
Posts: 6
Joined: Oct. 2004
Posted: Oct. 21 2004,17:24 QUOTE

sorry, forgot to log in, the above guest post if from me (realpc).

doh!
Back to top
Profile PM 
9 replies since Oct. 21 2004,09:23 < 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: small netowrk question

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