Modem
Jump to navigation
Jump to search
see more templates or propose new |
Steps
The following steps are tested with Franklin CDU-680DOrA Mobile Broadband USB Modem.
1. Insert the modem into an USB slot on XO. The device will be shown as a removable storage on XO. 2. Make a directory and copy the following files in it:
- Packages: Wvdial : wvdial-1.54.0-5.2.2.1.i386.rpm
PPP: ppp-2.4.4-2.i386.rpm Libwvstreams: libwvstreams-4.2.2-3.fc7.i386.rpm
- Files: The following files are located under the Linux directory: connect and itfchg.
This is needed for installing the drivers for this particular modem.
3. Run the following script so that it is recognized as a modem.
#!/bin/bash #Installs the required packages: wvdial, ppp and libwvstreams if not installed. for i in `ls *.rpm`;do rpm -i $i;done &> /dev/null #End all the services running related to modem killall wvdial &>/dev/null killall connect &>/dev/null sleep 5 #install drivers and quit "connect" while read line;do echo $line;echo $line|grep init && break &> /dev/null;done< <(./connect 2>&1) killall connect &> /dev/null ifconfig msh0 down killall wvdial &> /dev/null sleep 5 while read line do echo $line echo $line|awk '/DNS/ {print "nameserver "$5}' >> /etc/resolv.conf done< <(wvdial --config cdu680config 2>&1)
4.
Work in progress here
Possible Work is to develop a generic way of interfacing any modem with XO.
Contact
Contact Ankur Verma through -
Email : ankur AT laptop dot org
IRC : ankur on #olpc #sugar