DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th May 2008
DraconianTimes's Avatar
DraconianTimes DraconianTimes is offline
Security Geek
 
Join Date: May 2008
Location: United Kingdom
Posts: 37
Thanked 2 Times in 2 Posts
Default Huawei E220 USB / UK Vodafone

Does anyone use a Huawei E220 USB broadband device on OpenBSD/i386 to connect to UK Vodafone? If so, would appreciate pointers on getting it working.

(This is the last thing holding me back from swiching the laptop over to OpenBSD =) )

Thnx.
Reply With Quote
  #2   (View Single Post)  
Old 16th January 2009
DraconianTimes's Avatar
DraconianTimes DraconianTimes is offline
Security Geek
 
Join Date: May 2008
Location: United Kingdom
Posts: 37
Thanked 2 Times in 2 Posts
Default

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
Reply With Quote
  #3   (View Single Post)  
Old 19th January 2009
Scott7 Scott7 is offline
OpenBSD / XP
 
Join Date: Jan 2009
Posts: 7
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4   (View Single Post)  
Old 23rd February 2009
adapa adapa is offline
New User
 
Join Date: Feb 2009
Posts: 3
Thanked 0 Times in 0 Posts
Default

The E220 is supported by umsm. See umsm(4)
Reply With Quote
  #5   (View Single Post)  
Old 29th April 2009
DraconianTimes's Avatar
DraconianTimes DraconianTimes is offline
Security Geek
 
Join Date: May 2008
Location: United Kingdom
Posts: 37
Thanked 2 Times in 2 Posts
Talking 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"
/etc/ppp/chat-vodafone
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
/etc/ppp/peers/vodafone
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"
dial_vodafone.sh
Code:
#!/bin/sh
echo Create PPP interface...
ifconfig ppp0 create
echo Sleeping for 5 seconds...
sleep 5
echo Starting pppd...
pppd call vodafone
Hope this of use to some other folk!
Nick
Reply With Quote
  #6   (View Single Post)  
Old 30th April 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

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?
Reply With Quote
  #7   (View Single Post)  
Old 30th April 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

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..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick