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?
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?
Be root.
Create /etc/init.d/net_login. Insert your commands.
From a console:Code:mii-tool -F 10baseT-HD pon
... and be lucky!Code:chmod ug+x /etc/init.d/net_login cd /etc/rc5.d ln -s ../init.d/net_login S33net_login
Hamatoma
Noticed message during boot
"Configuring network interfaces:/etc/network/interfaces:14ption with empty value."
Is this significant?
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
How can my normal users get the permission to get on the net and also to use mii-tool as stated previously?
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:
andchmod +s /sbin/mii-tool
HTHchmod +s /usr/bin/pon
rock
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00
Cisco Catalyst WS-C3650-24PS-L 24-Port Gigabit Ethernet Network Switch TESTED
$49.99
Cisco Catalyst WS-C2960X-24PS-L 24 Port Managed Gigabit Ethernet Network Switch
$59.99
Dell PowerConnect 6224 Rackmount 24-Port Gigabit Managed Ethernet Network Switch
$31.99
TP-Link 5-Port 10/100/1000Mbps Gigabit Easy Smart Switch (TL-SG105E)
$17.99
NEW TP-Link TL-SG108PE 8-port Gigabit PoE+ Swith w/ 4-port PoE -RES LLC STORE-
$49.50
TP-Link 5-Port 10/100/1000Mbps Gigabit Easy Smart Switch (TL-SG105E)
$19.99
NetGear ProSAFE GS108PE v3 8-Port Gigabit Managed PoE Switch FREE S/H
$24.99
Cisco Catalyst WS-C2960X-48TS-L 2960-X Series Gigabit Ethernet Network Switch
$50.95
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$59.49