melvinkwok
Posts: 3
Joined: Thu Sep 13, 2012 3:48 am

ICS to Raspberry via Crossover Ethernet Cable

Tue Sep 18, 2012 4:32 am

Hi,

I'm currently using Windows 7. And raspberry pi is using Arch Linux.
I intend to use my laptop to share internet connection via Crossover Ethernet cable to Raspberry pi. I have set up the ICS settings in windows enabling. Under the 'Properties', on the 'Sharing' tab, i have enable Allow other network users to control or disable the shared Internet connection.
But still, i can't connect the raspberry pi to the internet.
Am i missing something?

User avatar
joan
Posts: 14936
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: ICS to Raspberry via Crossover Ethernet Cable

Tue Sep 18, 2012 12:28 pm

How is the Pi getting its IP address? Can you ping the Window's machine from the Pi and vice versa?

Evilsheep117
Posts: 15
Joined: Tue Sep 11, 2012 11:12 am
Location: Kingston Upon Thames

Re: ICS to Raspberry via Crossover Ethernet Cable

Tue Sep 18, 2012 7:32 pm

I havent had any luck with this either. Apparently it doesnt matter if you use a cross over or ethernet cable because the Pi has an auto-detect.

I did try selecting both the connection that allows wifi, and the lan cable connection to the pi and creating a bridge between them. But this didnt work either :roll:

PLYZing
Posts: 1
Joined: Thu Sep 20, 2012 3:13 am

Re: ICS to Raspberry via Crossover Ethernet Cable

Thu Sep 20, 2012 3:25 am

I tried using it with my Pi before and it was possible. But my setup is a bit different.
Computer -> Switch -> Raspberry Pi

Make sure you share the connection that has internet to your Local Area Network.

You could use the command on the Pi:
sudo dhclient eth0

To force it to detect DHCP and set the addresses

amyren
Posts: 91
Joined: Tue Jun 12, 2012 10:49 am

Re: ICS to Raspberry via Crossover Ethernet Cable

Thu Sep 20, 2012 4:36 pm

Evilsheep117 wrote:I havent had any luck with this either. Apparently it doesnt matter if you use a cross over or ethernet cable because the Pi has an auto-detect.

I did try selecting both the connection that allows wifi, and the lan cable connection to the pi and creating a bridge between them. But this didnt work either :roll:
I have done this on windows 7 and can confirm that it does work, without any any special software on the PC. Had a wireless usb adaptor in the windows 7 pc and used LAN port to connect to the Pi. I didnt have to set up anything on the Pi to make it work.

But about the cable, for me it had to be a twisted pair (crossed) ethernet cable. I tried with a regular ethernet cable first, but it didnt connect at all.

At first I didnt have a crossed cable available, so I connected the ethernet cable from the pc to spare router, into the WAN port. Then connected the Pi with another ethernet cable to the router. That worked ok. Later I found the crossed cable and then I just connected Pi directly to the pc.

f1ch
Posts: 1
Joined: Fri Sep 21, 2012 1:44 am

Re: ICS to Raspberry via Crossover Ethernet Cable

Fri Sep 21, 2012 2:43 am

though i have just begun working with my PI i do work in the IP world. If you are using a crossover cable for normal LAN connectivity you are most likely not going to get link. This is due to the inability for most network interfaces to have the auto-negotiate over inverted wiring. I would recommend using a different pin-out. WO O WG B WB G WB B is a very standard rj45 connection and handles noise quite well. This should be easily obtained through the use of a normal Ethernet cable. If you intent is to use the device in conjunction with a switch that requires this type of pin-out the cabling is not the issue as the switch will be capable of detecting the transmission sequence itself. Hopefully this was helpful

Return to “Beginners”