Page 1 of 1

cant install usb_modeswitch on Xandros eee PC

Posted: 14 Jan 2013, 21:50
by mischael1
I download last usb-modeswitch-1.2.5.tar.bz2 and usb-modeswitch-data.
Unpacked them.
Then i type in bash: "sudo make install":

Code: Select all

install -D -s --mode=755 usb_modeswitch /usr/sbin/usb_modeswitch
install -D --mode=755 usb_modeswitch.sh /lib/udev/usb_modeswitch
install -D --mode=644 usb_modeswitch.conf /etc/usb_modeswitch.conf
install -D --mode=644 usb_modeswitch.1 /usr/share/man/man1/usb_modeswitch.1
install -d /var/lib/usb_modeswitch
install -D --mode=755 usb_modeswitch_dispatcher /usr/sbin/usb_modeswitch_dispatcher
And nothing changed.
If i type in bash "usb_modeswitch":

Code: Select all

bash: usb_modeswitch: comand not found
How to install?

Re: cant install usb_modeswitch on Xandros eee PC

Posted: 15 Jan 2013, 09:12
by Josh
The path where usb_modeswitch is installed is usually not accessible for normal users; it is not contained in the PATH variable

If you want to play around with the program, it's much easier to become "root". Run "su" as a shell command; if that does not work, run "sudo bash".

Note that if your modem model is supported, you don't have to run usb_modeswitch manually.