Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


patrickdavey

7 posts

Wannabe Geek


#166207 5-Mar-2015 22:11
Send private message

Hi there,

I was wondering if anyone here has experience connecting a raspberry pi (or linux flavour) to the vodafone network.  I am thinking of buying one of these: http://www.vodafone.co.nz/shop/mobileDetails.jsp?skuId=sku500386 (a vodafone prepay dongle) so that I can put my raspberry pi somewhere with cellular coverage and upload photos periodically over 3G data.

Any advice / suggestions would be most welcome!

Thanks,
Patrick

View this topic in a long page with up to 500 replies per page Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

Killerkiwi2005
374 posts

Ultimate Geek
+1 received by user: 85

Trusted



richms
29098 posts

Uber Geek
+1 received by user: 10208

Trusted
Lifetime subscriber

  #1257290 12-Mar-2015 16:07
Send private message

It was a case of a setting on the hotspot and plugging it in, then an ifup command on its interface name




Richard rich.ms

ianboag
103 posts

Master Geek
+1 received by user: 3

Trusted

  #1261064 17-Mar-2015 13:58
Send private message

Richard. Would you like to create this for money? I can supply the hotspot ...



Killerkiwi2005
374 posts

Ultimate Geek
+1 received by user: 85

Trusted

  #1261134 17-Mar-2015 15:29
Send private message

since you have a rpi I'd use python3, a bit easier to learn then curl

import urllib
import http.cookiejar
cookieJar = http.cookiejar.MozillaCookieJar("jar.cookies")
url = "http://127.0.0.1"

encodedPost = urllib.parse.urlencode({'email': email, 'password': password}).encode('utf-8')
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookieJar))
request = urllib.request.Request(url, encodedPost, headers)
response = opener.open(request)
html = response.read().decode()

View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.