SetupVodafone

From VentureResearchWiki
Jump to navigation Jump to search

Setup Vodafone[edit | edit source]

opkg update
opkg install -force-reinstall kernel-image-2.6.37
opkg list-installed | grep kernel-module | cut -f 1 -d ' ' | xargs opkg install -force-reinstall

Reboot (this is the preferred way to perform soft reboots):

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && reboot

Copy over the connection file

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/src/venture-wwan/WWAN-vodafone -O /etc/NetworkManager/system-connections/WWAN
chmod 600 /etc/NetworkManager/system-connections/WWAN

This connection is internally called “Vodafone” not “Verizon”. So you may want to toggle that instead.

Testing Vodafone module[edit | edit source]

Bring up the connection manually (or wait for vrcm to automatically bring it up once Ethernet is unplugged)

nmcli con up id Vodafone

Check for modems

root@asd-014693:~# mmcli -L

Found 1 modems:
/org/freedesktop/ModemManager1/Modem/0 [Vodafone (Huawei)] K3773

Get information on the attached modem

root@asd-014693:~# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '15d57f73697eefc9745209f5d921e57c33836bcb')
-------------------------
Hardware |   manufacturer: 'Vodafone (Huawei)'
         |          model: 'K3773'
         |       revision: '22.157.40.00.11'
         |      supported: 'gsm-umts'
         |        current: 'gsm-umts'
         |   equipment id: '868328000259537'
-------------------------
System   |         device: '/sys/devices/platform/ehci-omap.0/usb1/1-1/1-1.1'
         |        drivers: 'option1'
         |         plugin: 'Huawei'
         |   primary port: 'ttyUSB3'
         |          ports: 'ttyUSB0 (at), ttyUSB3 (at)'
-------------------------
Numbers  |           own : 'unknown'
-------------------------
Status   |           lock: 'none'
         | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
         |          state: 'connected'
         |    power state: 'on'
         |    access tech: 'hspa'
         | signal quality: '87' (recent)

Modes    |      supported: 'allowed: any; preferred: none'
         |        current: 'allowed: any; preferred: none'
-------------------------
Bands    |      supported: 'unknown'
         |        current: 'unknown'
-------------------------
IP       |      supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP     |           imei: '868328000259537'
         |  enabled locks: 'none'
         |    operator id: '310410'
         |  operator name: 'AT&T'
         |   registration: 'roaming'
-------------------------
SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

Get location info

root@asd-014693:~# mmcli -m 0 --location-get-3gpp

/org/freedesktop/ModemManager1/Modem/0
-------------------------
3GPP location   | Mobile country code: '310'
                | Mobile network code: '410'
                |  Location area code: '52659'
                |             Cell ID: '111280480'