PDA

View Full Version : mii-tool -F 10baseT-HD Where can I put this line?



FelixDzerzhinsky
01-19-2003, 07:34 PM
Every time I log on the net I have to type in mii-tool -F 10baseT-HD then pon.

Where can I put this line so it happens automatically when I boot?

hamatoma
01-20-2003, 04:26 PM
Be root.
Create /etc/init.d/net_login. Insert your commands.

mii-tool -F 10baseT-HD
pon

From a console:

chmod ug+x /etc/init.d/net_login
cd /etc/rc5.d
ln -s ../init.d/net_login S33net_login

... and be lucky!
Hamatoma

FelixDzerzhinsky
01-21-2003, 08:55 PM
Noticed message during boot

"Configuring network interfaces:/etc/network/interfaces:14:option with empty value."

Is this significant?

hamatoma
01-22-2003, 12:16 AM
Rename S33net_login to S99net_login to force starting the script at least.

If it isīnt successfull:
Create a link to /etc/init.d/net_login at your desktop
(right mouse click on th desktop, "New - Link to program" [strings could be wrong because I know only the german version])
to start the script by one mouse click.

You can copy this link to ~/.kde/autostart for automatic execution.

I hope, this helps a little bit.
Hamatoma

FelixDzerzhinsky
01-25-2003, 05:11 PM
How can my normal users get the permission to get on the net and also to use mii-tool as stated previously?

RockMumbles
01-27-2003, 06:02 AM
If you set mii-tool and pon suid then users should be able to use them, NOTE with suid set anyone should be able to use them, as in possible security risk! A lot of people don't like running stuff suid.

ex:

chmod +s /sbin/mii-tool

and


chmod +s /usr/bin/pon

HTH

rock