|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Update 2009-01-16
I've found some additional resources about using the E220 under OpenBSD. This isn't Vodafone UK specific, and have not yet had a chance to try it out, but thought it would be worthwhile to consolidate related knowledge back to this thread: http://www.jensolsson.se/?p=123 http://marc.info/?t=123148575300001&r=1&w=2 |
|
|||
DraconianTimes, I tried getting this working not so long ago with mine (T-Mobile) didn't have much success at all. I'll try again soon when I get some more time.
|
|
|||
The E220 is supported by umsm. See umsm(4)
|
|
||||
SOLVED!!!!
Finally got my Huawei E220 USB dongle working with Vodafone UK, after a serious amount of headaches and tiresome searching of various forums, newsgroups etc. For reference, I am running OpenBSD i386 4.5-CURRENT on an IBM T60 laptop (snapshot from a few days ago).
You need to create three key files: /etc/ppp/pap-secrets /etc/ppp/chat-vodafone /etc/ppp/peers/vodafone I also created a short script to get it all working (don't forget you need to create a ppp device prior to starting pppd - see my dial_vodafone.sh script below). I also needed to setup DNS in my /etc/resolv.conf manually - but you can use the OpenDNS servers or whichever ones you prefer (I couldn't find a definitive list of Vodafone's UK DNS servers). /etc/ppp/pap-secrets Code:
# $OpenBSD: pap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $ # Secrets for authentication using PAP # client server secret IP addresses "web" * "web" Code:
ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIMEOUT 60 SAY "Calling Vodafone...\n" '' "ATZ" '' "AT+COPS?" '' "AT_OPSYS=3" '' "AT+CSQ" '' 'AT+CGDCONT=1,"ip","internet"' '' "ATD*99***1#" CONNECT \d\c Code:
ttyU0 384000 idle 7200 lock debug crtscts modem noauth defaultroute ipcp-restart 10 ipcp-accept-local ipcp-accept-remote 0.0.0.0:10.64.64.64 noipdefault novj connect "/usr/sbin/chat -v -f /etc/ppp/chat-vodafone" Code:
#!/bin/sh echo Create PPP interface... ifconfig ppp0 create echo Sleeping for 5 seconds... sleep 5 echo Starting pppd... pppd call vodafone Nick |
|
|||
I'm not a major user of PPP anymore, not since the mid 90's.. but does adding enable dns to /etc/ppp/peers/vodafone work?
|
|
|||
My apologies, I often confuse the configuration between ppp(8) and pppd(8).. you're using the kernel ppp(4) to establish a connection.
The userland implementation has the above option to negotiate DNS servers, perhaps you can convert your configuration over to it? http://www.openbsd.org/faq/faq6.html#PPP Hope it works out for you.. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Huawei E220 USB / UK Three.co.uk | wimwauters | OpenBSD General | 0 | 30th April 2009 04:42 PM |
How to connect huawei tunnel0 with OpenBSD4.4 | am1234 | OpenBSD General | 2 | 2nd March 2009 02:58 AM |