AnyData modem ADU-510l
(Romtelecom clicknet) installation
under Linux operating
systems
The tests were made on Red Hat
Enterprise Linux Workstation release 6.4 , kernel
2.6.32-358.11.1.el6.x86_64.
Obs.: The internet stick AnyData
ADU-510l has two operating
modes:USB Storage and Modem. For switching between those two modes we
will use an application: usb_modeswitch.
Steps
for connecting to internet using AnyData ADU-510l:
-
- if necessary, upgrade it:#yum upgrade usb_modeswitch- if no package was found, install it:#yum install usb_modeswitch - After successfully installing the usb_modeswitch we will have some new files:- executable file: /usr/sbin/usb_modeswitch
- Plug the modem in the USB port, wait for both LEDs to turn on and check if AnyData ADU-510l modem was recognized by Linux:
- wait for 1 minute and issue the lsub command again and check if you have the same output. If not, go to step 6. - Create an executable file: /tmp/clicknet with the following content (the path /sys/bus/usb/devices/1-1/power/level was determined in the previous step, and can differ, depending on the available USB port):
- when creating a new file, it's not
executable by default. In our case the rights for the file are: 644
(user=rw-, group=r--, other=r--)
- if the execution of /tmp/clicknet
hangs, press Ctrl+C, unplug the modem and go to step 5.
-
- at this moment AnyData modem ADU-510l is seen by OS as a modem, and not as a USB Storage as it was by default- if the highlighted result from the picture above it's not reflected in your terminal, go back to step 3.
- Install wvdial (Point-to-Point Protocol dialer):#yum install wvdial-when WvDial starts it first loads the configuration from /etc/wvdial.conf-wvdialconf will probe the comm ports, looking for a modem and determine the capabilities of any modem it finds. The results will be saved in the file specified as a parameter when invoking wvdialconf#wvdialconf /etc/wvdial.conf-edit /etc/wvdial.conf: Phone, Username, Password items with the values as in the picture bellow. All other fields where automatically filled by wvdialconf command.
- Run wvdial in a terminal (do not close this terminal):
- Stop NetworkManager service:#service NetworkManager stop
- Add a new route, by setting as default gateway the remote ip address of the ppp0 connection:#route add default gw 10.133.6.101 ppp0
- To end the internet connection press Ctrl+C in the terminal opened in step 7.
- After restart, the network setting will be lost and will revert to previously settings.