Modem: Difference between revisions
Jump to navigation
Jump to search
Ankur.verma (talk | contribs) (New page: {{Olpcboxtop|toptext=[[{{PAGENAME}}|XO with USB Cellular Modem]]}} {{ OBX team |Adviser: Michail Bletsas, Development: Ankur, Helper(s): Gianis Galanis}}...) |
Ankur.verma (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Olpcboxtop|toptext=[[{{PAGENAME}}|XO with USB Cellular Modem]]}} |
{{Olpcboxtop|toptext=[[{{PAGENAME}}|XO with USB Cellular Modem]]}} |
||
{{ OBX team |Adviser: [[ |
{{ OBX team |Adviser: [[Michail Bletsas]], Development: [[User:ankur|Ankur]]}} |
||
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small> |
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small> |
||
{{Olpcboxbottom}} |
{{Olpcboxbottom}} |
||
==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 |
Revision as of 16:27, 2 June 2008
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