I was concerned not so long ago by a portable instrument. The choice fell on more or less known to me FreeBSD. I put it on a USB flash drive, I set everything up. However, on the move, I didn’t start up a Skylink modem. It was useful to search for a solution in the internet and every second began with the words “In order for this modem to work, you need to rebuild the kernel by throwing out these and these modules. Yes, flash drives will stop working, but the modem will work. And then we port a Linux module to switch modes from sidirom to modem. ” But this is not an option. Postponed the solution to the problem indefinitely. And today, by chance I returned to this issue altogether, and found that everything is solved much easier and faster.
First, the modem will work on the generic kernel. Secondly, without any Linux ports. And this is exactly what I was looking for. So, here it is a simple instruction:
1) Configure ppp.conf to work with skylink. *
2) Insert the modem.
3) Run the command camcontrol eject cd0
(here it should be noted that in place of cd0 it should be how your modem was determined after connection)
4) Run the ppp -dial skylink command.
5) Verify getting the address with the ifconfig tun0 command.
(here again, only if no tunnels have been raised before, otherwise tunK + 1, where K is the number of the last tunnel)
')
Next, launch your favorite browser and enjoy. **
Notes:
*)
#cat /etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
set speed 115200
set timeout 160
enable dns
skylink:
set device /dev/cuaU0
set phone \#777
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
\\dATDT\\T TIMEOUT 40 CONNECT"
set login
set authname mobile
set authkey internet
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
**) It is not possible to test the speed normally yet, it is possible that such a method does not give the maximum speed, but it is extremely simple. The fact that catches in my armored basement ~ 512 kbps in both directions. I'll go home and try on the street to measure.
***) The solution was discovered by chance, but on the very first link in Yandex. Make a search query as accurately as possible and find it, otherwise you can’t tell otherwise.