Télécharger le firmware de la carte, puis extraire le fichier SW_8xx_SER.dat :
$ wget http://www.sierrawireless.com/software/8x0/AirCard_8xx_Linux.tar.gz $ tar -xf AirCard_8xx_Linux.tar.gz SW_8xx_SER.dat
Puis, en tant que root, déplacer le firmware dans /lib/firmware et créer un lien pour que le firmware soit correctement chargé (la carte 850 a le même id de firmware que la carte 770 …) :
# mv SW_8xx_SER.dat /lib/firmware/SW_8xx_SER.cis # ln -s /lib/firmware/SW_8xx_SER.cis /lib/firmware/SW_7xx_SER.cis # ls -l /lib/firmware/SW* lrwxrwxrwx 1 root root 28 2007-07-16 15:24 /lib/firmware/SW_7xx_SER.cis -> /lib/firmware/SW_8xx_SER.cis -rw-r--r-- 1 root root 132 2005-11-07 19:37 /lib/firmware/SW_8xx_SER.cis
Il faut ensuite créer les règles udev nécessaires à la création du device '/dev/umts’. Créer le fichier '/etc/udev/rules.d/99-aircard.rules’ contenant la ligne suivante :
BUS=="pcmcia", SYSFS{card_id}=="0x0710", name="umts", SYMLINK="tts/umts"
On recharge udev :
# /etc/init.d/udev restart * Loading additional hardware drivers... [ OK ]
On peut ensuite insérer la carte si ce n’est pas fait et le device est créé :
$ ls -l /dev/umts crw-rw---- 1 root dialout 4, 64 2007-07-16 15:14 /dev/umts
Editer le fichier '/etc/wvdial.conf’ :
### /etc/wvdial.conf [Dialer Defaults] Modem = /dev/noz0 # reliquat de la conf. de la carte fournie par Orange Baud = 460800 SetVolume = 0 Dial Command = ATDT FlowControl = NOFLOW Init1 = ATZ Init2 = ATM0 [Dialer bouygues] Modem = /dev/umts Username = any Password = any Phone = *99# Stupid Mode = 1 #Init3 = AT+CGDCONT=1,"IP","a2bouygtel.com" Dial Attempts = 3
On se connecte avec wvdial :
$ wvdial bouygues --> WvDial: Internet dialer version 1.56 --> Cannot set information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATM0 ATM0 OK --> Modem initialized. --> Sending: ATDT*99# --> Waiting for carrier. ATDT*99# CONNECT --> Carrier detected. Starting PPP immediately. --> Starting pppd at Mon Jul 16 15:34:28 2007 --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied --> --> PAP (Password Authentication Protocol) may be flaky. --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied --> --> CHAP (Challenge Handshake) may be flaky. --> Pid of pppd: 8096 --> Using interface ppp0 --> local IP address 10.xx.xx.xx --> remote IP address 10.xx.xx.xx --> primary DNS address 62.xx.xx.xx --> secondary DNS address 62.xx.xx.xx >/file> Et voilà !!! ;) <file>naz@zappy:~$ ping www.google.com PING www.l.google.com (64.233.183.147) 56(84) bytes of data. 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=1 ttl=238 time=255 ms 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=2 ttl=238 time=296 ms 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=3 ttl=238 time=260 ms 64 bytes from nf-in-f147.google.com (64.233.183.147): icmp_seq=4 ttl=238 time=396 ms --- www.l.google.com ping statistics --- 5 packets transmitted, 4 received, 20% packet loss, time 3999ms rtt min/avg/max/mdev = 255.676/301.971/396.008/56.527 ms naz@zappy:~$
Petit HowTo décrivant l’utilisation d’une carte 3G/Edge “Mobile PC Card 3G/EDGE” “Option GlobetTrotter 3G/EDGE” Orange sous Linux et plus particulièrement Ubuntu
wget http://www.pharscape.org/3G/nozomi_2.1_060703.tar.gz mkdir nozomi21 tar -C nozomi21 -zxf nozomi_2.1_060703.tar.gz cd nozomi21
make sudo cp nozomi.ko /lib/modules/`uname -r`/kernel/drivers/pci/hotplug/ sudo depmod
[17194210.124000] pccard: CardBus card inserted into slot 0 [17194210.760000] [1504] nozomi_card_init(): Init, cards_found: 1 [17194210.760000] [1390] nozomi_get_card_type(): Card type is: 2048 [17194210.760000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002) [17194210.760000] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 [17194210.768000] Nozomi driver nozomi_tty<6>Initializing Nozomi driver 2.1 (build date: Dec 27 2006 14:23:12) [17194210.980000] [836] nozomi_read_config_table(): Version of card: 3 [17194210.980000] [828] nozomi_read_config_table(): Initialization OK!
Je passe les détails de configuration, ce HowTo étant très bien fait !
En résumé, il faut éditer le fichier /etc/wvdial.conf pour qu’il ressemble à ceci afin de pouvoir se connecter à tous les apn disponibles :
### /etc/wvdial.conf #[Dialer Defaults] #Phone = #Username = #Password = #New PPPD = yes [Dialer Defaults] Modem = /dev/noz0 Baud = 460800 SetVolume = 0 Dial Command = ATDT FlowControl = NOFLOW Init1 = ATZ Init2 = ATM0 [Dialer orange-public] Username = any Password = any Phone = *99***1# Stupid Mode = 1 Init3 = AT+CGDCONT=1,"IP","orange.fr" Dial Attempts = 3 [Dialer orange-entreprise] Username = any Password = any Phone = *99***1# Stupid Mode = 1 Init3 = AT+CGDCONT=1,"IP","internet-entreprise" Dial Attempts = 3 [Dialer orange-vpn] Username = any Password = any Phone = *99***1# Stupid Mode = 1 Init3 = AT+CGDCONT=1,"IP","orange.vpn" Dial Attempts = 3
Editer le fichier /etc/ppp/peers/wvdial comme ceci :
### /etc/ppp/peers/wvdial plugin passwordfd.so noauth name wvdial replacedefaultroute noipdefault nomagic usepeerdns ipcp-accept-local ipcp-accept-remote nomp noccp nopredictor1 novj novjccomp nobsdcomp
root# apt-get install gcom
Puis exécuter les commandes suivantes
root# gcom -d /dev/noz0 SIM ready Waiting for Registration..(120 sec max) Registered on Home network: "Orange F",2 Signal Quality: 19,0 root# gcom -d /dev/noz0 3G2G Set 3G preferred mode root# wvdial orange-vpn ...