yarb
Posts: 6
Joined: Sat Jun 16, 2012 10:20 am

Share laptops internet connection with pi.

Sun Jun 17, 2012 11:05 am

I have a Samsung RV511 laptop running windows 7 it has a wifi connection to my router and one ethernet port. I do not have an "ethernet hub".
I have tried this. http://www.frambozenbier.org/index.php/ ... -7-machine but it then cut my labtops internet conection. IS that normal.

Can anyone give me noob level instructions to use my laptops wifi internet connection to get my pi online.

I am an absolute beginner (I know what an ethernet lead looks like and that about it as far as networking goes)

Thanks

James

Thanks

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Share laptops internet connection with pi.

Sun Jun 17, 2012 2:33 pm

Search the interent for "Windows 7 network bridge"

yarb
Posts: 6
Joined: Sat Jun 16, 2012 10:20 am

Re: Share laptops internet connection with pi.

Sun Jun 17, 2012 2:48 pm

I did as the microsoft link said http://windows.microsoft.com/en-us/wind ... ork-bridge however when i conected my pi up to the pc and tried to veiw a website it said "failed to resolve host name" is there somthing more i need to do on my pc or the pi?

Brenz
Posts: 1
Joined: Mon Oct 03, 2011 6:37 pm

Re: Share laptops internet connection with pi.

Tue Jun 26, 2012 6:44 pm

I had this issue too.

I managed to fix it by setting up a static IP on the RPi.

hiveda
Posts: 7
Joined: Sat Jan 21, 2012 2:26 pm

Re: Share laptops internet connection with pi.

Tue Jun 26, 2012 8:27 pm

I only had to enable "allow other network users to connect through this computers internet connection" in the "wireless network" "sharing" tab and connect the Pi using a normal network cable (not Xconnect) to the LAN-port of my PC.

Network & Sharing center, Wireless Network Connection > Sharing > "allow other network users to connect through this ..."

after this I could ping www.google.be

with ifconfig you can see the IP-address of the Pi and use this to setup VNC, ...

User avatar
clickykbd
Posts: 117
Joined: Wed Jun 06, 2012 2:21 am
Location: Austin, Texas
Contact: Website

Re: Share laptops internet connection with pi.

Fri Jun 29, 2012 11:09 am

My experiences... I just did this as an alternative to "just wireless via unstable cards/hubs" for headless operation when out and about. Having wireless drop for unknown reasons and having to do a hot-reboot was getting annoying. It also frees up a USB port. It also works at cafes where they have a single AP that has "client-to-client" disabled. The only downside is I can no longer just plug it in and leave it under the table or near the outlet at the cafe. I need a table close to the outlet due to the cabled connection.

I set up my Ubuntu netbook as the one sharing the connection to the Pi (via an actual crossover cable, though I'm told NICs are smart these days and sometimes don't care). iptables is fairly unfamiliar to me, but the instructions linked below worked like a charm. The only bits that needed personalization was the private subnet to use (I used 10.0.1.x), names of your interfaces (eth0 and wlan0 in my case), and DNS preferences. I also went with setting the client (pi) up via /etc/network/interfaces so it can be more automatic.

Useful bits under the "iptables method" section:
https://help.ubuntu.com/community/Inter ... way_set_up

If you don't need the internet and just need shell to the RasPi it's way easier, just static IPs on the respective interfaces on both ends configured to the same subnet.

yarb
Posts: 6
Joined: Sat Jun 16, 2012 10:20 am

Re: Share laptops internet connection with pi.

Sun Jul 01, 2012 9:48 am

Thanks everybody.
I used hiveda method and it all worked fine.

James

Return to “Beginners”