Page 1 of 1

ICS to Raspberry via Crossover Ethernet Cable

Posted: Tue Sep 18, 2012 4:32 am
by melvinkwok
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?

Re: ICS to Raspberry via Crossover Ethernet Cable

Posted: Tue Sep 18, 2012 12:28 pm
by joan
How is the Pi getting its IP address? Can you ping the Window's machine from the Pi and vice versa?

Re: ICS to Raspberry via Crossover Ethernet Cable

Posted: Tue Sep 18, 2012 7:32 pm
by Evilsheep117
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:

Re: ICS to Raspberry via Crossover Ethernet Cable

Posted: Thu Sep 20, 2012 3:25 am
by PLYZing
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

Re: ICS to Raspberry via Crossover Ethernet Cable

Posted: Thu Sep 20, 2012 4:36 pm
by amyren
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.

Re: ICS to Raspberry via Crossover Ethernet Cable

Posted: Fri Sep 21, 2012 2:43 am
by f1ch
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