reseaux:3g-edge:linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
reseaux:3g-edge:linux [2006/12/29 16:56] – créée naz | reseaux:3g-edge:linux [2007/07/16 13:39] (Version actuelle) – naz | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Installation d'une carte Sierra Wireless AC850 sous Linux ====== | ||
+ | ===== Installation du firmware et configuration de udev ===== | ||
+ | |||
+ | Télécharger le [[http:// | ||
+ | < | ||
+ | $ tar -xf AirCard_8xx_Linux.tar.gz SW_8xx_SER.dat</ | ||
+ | |||
+ | Puis, en tant que root, déplacer le firmware dans / | ||
+ | < | ||
+ | # ln -s / | ||
+ | # ls -l / | ||
+ | lrwxrwxrwx 1 root root 28 2007-07-16 15:24 / | ||
+ | -rw-r--r-- 1 root root 132 2005-11-07 19:37 / | ||
+ | </ | ||
+ | |||
+ | Il faut ensuite créer les règles udev nécessaires à la création du device '/ | ||
+ | < | ||
+ | |||
+ | On recharge udev : | ||
+ | < | ||
+ | * Loading additional hardware drivers... | ||
+ | |||
+ | On peut ensuite insérer la carte si ce n'est pas fait et le device est créé : | ||
+ | < | ||
+ | crw-rw---- 1 root dialout 4, 64 2007-07-16 15:14 / | ||
+ | |||
+ | ===== Paramétrage de la connexion ===== | ||
+ | |||
+ | Editer le fichier '/ | ||
+ | < | ||
+ | |||
+ | [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," | ||
+ | Dial Attempts = 3</ | ||
+ | < | ||
+ | |||
+ | On se connecte avec wvdial : | ||
+ | < | ||
+ | --> 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 pppd at Mon Jul 16 15:34:28 2007 | ||
+ | --> Warning: Could not modify / | ||
+ | --> --> PAP (Password Authentication Protocol) may be flaky. | ||
+ | --> Warning: Could not modify / | ||
+ | --> --> 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 | ||
+ | --> secondary DNS address 62.xx.xx.xx | ||
+ | >/ | ||
+ | |||
+ | Et voilà !!! ;) | ||
+ | < | ||
+ | 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): | ||
+ | 64 bytes from nf-in-f147.google.com (64.233.183.147): | ||
+ | 64 bytes from nf-in-f147.google.com (64.233.183.147): | ||
+ | 64 bytes from nf-in-f147.google.com (64.233.183.147): | ||
+ | |||
+ | --- www.l.google.com ping statistics --- | ||
+ | 5 packets transmitted, | ||
+ | rtt min/ | ||
+ | naz@zappy: | ||
+ | |||
+ | ===== Sources ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ====== Installation d'une carte Option Globetrotter 3G/EDGE sous Linux ====== | ||
+ | |||
+ | Petit HowTo décrivant l' | ||
+ | |||
+ | ===== Installation du driver Nozomi ===== | ||
+ | |||
+ | - Télécharger le driver à l'url suivante : [[http:// | ||
+ | mkdir nozomi21 | ||
+ | tar -C nozomi21 -zxf nozomi_2.1_060703.tar.gz | ||
+ | cd nozomi21</ | ||
+ | - Compiler le driver (module kernel) et l' | ||
+ | sudo cp nozomi.ko / | ||
+ | sudo depmod</ | ||
+ | - Il suffit ensuite d' | ||
+ | [17194210.760000] [1504] nozomi_card_init(): | ||
+ | [17194210.760000] [1390] nozomi_get_card_type(): | ||
+ | [17194210.760000] PCI: Enabling device 0000: | ||
+ | [17194210.760000] ACPI: PCI Interrupt 0000: | ||
+ | [17194210.768000] Nozomi driver nozomi_tty< | ||
+ | [17194210.980000] [836] nozomi_read_config_table(): | ||
+ | [17194210.980000] [828] nozomi_read_config_table(): | ||
+ | |||
+ | |||
+ | ===== Configuration de la carte ===== | ||
+ | |||
+ | Je passe les détails de configuration, | ||
+ | |||
+ | En résumé, il faut éditer le fichier / | ||
+ | < | ||
+ | #[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," | ||
+ | Dial Attempts = 3 | ||
+ | |||
+ | [Dialer orange-entreprise] | ||
+ | Username = any | ||
+ | Password = any | ||
+ | Phone = *99***1# | ||
+ | Stupid Mode = 1 | ||
+ | Init3 = AT+CGDCONT=1," | ||
+ | Dial Attempts = 3 | ||
+ | |||
+ | [Dialer orange-vpn] | ||
+ | Username = any | ||
+ | Password = any | ||
+ | Phone = *99***1# | ||
+ | Stupid Mode = 1 | ||
+ | Init3 = AT+CGDCONT=1," | ||
+ | Dial Attempts = 3</ | ||
+ | |||
+ | Editer le fichier / | ||
+ | < | ||
+ | plugin passwordfd.so | ||
+ | noauth | ||
+ | name wvdial | ||
+ | replacedefaultroute | ||
+ | noipdefault | ||
+ | nomagic | ||
+ | usepeerdns | ||
+ | ipcp-accept-local | ||
+ | ipcp-accept-remote | ||
+ | nomp | ||
+ | noccp | ||
+ | nopredictor1 | ||
+ | novj | ||
+ | novjccomp | ||
+ | nobsdcomp</ | ||
+ | |||
+ | |||
+ | ===== Utilisation ===== | ||
+ | |||
+ | - Insertion de la carte | ||
+ | - Installer gcom si ce n'est pas fait < | ||
+ | SIM ready | ||
+ | Waiting for Registration..(120 sec max) | ||
+ | Registered on Home network: " | ||
+ | Signal Quality: 19,0 | ||
+ | root# gcom -d /dev/noz0 3G2G | ||
+ | Set 3G preferred mode | ||
+ | root# wvdial orange-vpn | ||
+ | ...</ | ||
+ | - Avec orange-vpn, seuls quelques protocoles/ | ||
+ | |||
+ | ===== Sources ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// |