Sharing a Windows 7 wifi connection with a Raspberry PI











up vote
2
down vote

favorite












I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured the Windows 7 PC to share the network, Windows states: Unidentified network shared.



However on the PI I get nothing, I've tried several IP based commands and I can't seem to identify anything.



I had it working from a direct cable before, but now I'm using the cable from the PC I cant seem to get it to work.



I have followed the commands on the R.Pi site, but anything I try doesn't seem to work.



I'm using Raspbian “Wheezy”.










share|improve this question
























  • Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
    – Hennes
    Dec 9 '12 at 0:04










  • hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
    – Welsh King
    Dec 9 '12 at 0:21










  • DHCP on Windows 7 is turned on
    – Welsh King
    Dec 9 '12 at 0:28










  • What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
    – Hennes
    Dec 9 '12 at 0:36










  • ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
    – Welsh King
    Dec 9 '12 at 0:41

















up vote
2
down vote

favorite












I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured the Windows 7 PC to share the network, Windows states: Unidentified network shared.



However on the PI I get nothing, I've tried several IP based commands and I can't seem to identify anything.



I had it working from a direct cable before, but now I'm using the cable from the PC I cant seem to get it to work.



I have followed the commands on the R.Pi site, but anything I try doesn't seem to work.



I'm using Raspbian “Wheezy”.










share|improve this question
























  • Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
    – Hennes
    Dec 9 '12 at 0:04










  • hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
    – Welsh King
    Dec 9 '12 at 0:21










  • DHCP on Windows 7 is turned on
    – Welsh King
    Dec 9 '12 at 0:28










  • What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
    – Hennes
    Dec 9 '12 at 0:36










  • ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
    – Welsh King
    Dec 9 '12 at 0:41















up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured the Windows 7 PC to share the network, Windows states: Unidentified network shared.



However on the PI I get nothing, I've tried several IP based commands and I can't seem to identify anything.



I had it working from a direct cable before, but now I'm using the cable from the PC I cant seem to get it to work.



I have followed the commands on the R.Pi site, but anything I try doesn't seem to work.



I'm using Raspbian “Wheezy”.










share|improve this question















I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured the Windows 7 PC to share the network, Windows states: Unidentified network shared.



However on the PI I get nothing, I've tried several IP based commands and I can't seem to identify anything.



I had it working from a direct cable before, but now I'm using the cable from the PC I cant seem to get it to work.



I have followed the commands on the R.Pi site, but anything I try doesn't seem to work.



I'm using Raspbian “Wheezy”.







windows-7 linux internet-connection connection-sharing raspberry-pi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 9 '12 at 14:43









jonsca

2,897112539




2,897112539










asked Dec 8 '12 at 23:57









Welsh King

11114




11114












  • Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
    – Hennes
    Dec 9 '12 at 0:04










  • hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
    – Welsh King
    Dec 9 '12 at 0:21










  • DHCP on Windows 7 is turned on
    – Welsh King
    Dec 9 '12 at 0:28










  • What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
    – Hennes
    Dec 9 '12 at 0:36










  • ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
    – Welsh King
    Dec 9 '12 at 0:41




















  • Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
    – Hennes
    Dec 9 '12 at 0:04










  • hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
    – Welsh King
    Dec 9 '12 at 0:21










  • DHCP on Windows 7 is turned on
    – Welsh King
    Dec 9 '12 at 0:28










  • What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
    – Hennes
    Dec 9 '12 at 0:36










  • ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
    – Welsh King
    Dec 9 '12 at 0:41


















Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
– Hennes
Dec 9 '12 at 0:04




Apparently the NIC on the R-Pi is auto-sensing. So plain/cross cables should not be the problem here. Might want to add that to the post before you get people asking you to try it with a cross cable. Also, does the Pi detect link? Does the PC detect it? What happens if you plug either end of the cable in a switch, does the link come up (if not, faulty cable, not faulty type but broken).
– Hennes
Dec 9 '12 at 0:04












hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
– Welsh King
Dec 9 '12 at 0:21




hi ive started trying 'sudo /etc/init.d/networking stop|start and its now saying "DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6, it tries this several times and then drops out with No DHCPOFFERS recieved. Unable to obtain a lease on first try. Exiting. Failed to bring up eth0.
– Welsh King
Dec 9 '12 at 0:21












DHCP on Windows 7 is turned on
– Welsh King
Dec 9 '12 at 0:28




DHCP on Windows 7 is turned on
– Welsh King
Dec 9 '12 at 0:28












What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
– Hennes
Dec 9 '12 at 0:36




What happens if you set up a static route (pi: ifconfig eth0 172.16.1.1 netmask 255.255.255.0, windows same with 172.16.1.2, set up routes (in case those do not get set automatically) and try to ping the other? That should allow ping.
– Hennes
Dec 9 '12 at 0:36












ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
– Welsh King
Dec 9 '12 at 0:41






ive just tried something simlar setting both to be the same. The network service starts, but nothing works, when i do a ping it just sits there.
– Welsh King
Dec 9 '12 at 0:41












2 Answers
2






active

oldest

votes

















up vote
0
down vote













The simplest solution would be to just enable ICS, but that does not seem to work with Win7 Starter Edition or if the NIC of the wireless adapter does not have any "share" option (perhaps caused by the network adapter driver).

Another way is to bridge the wireless and the wired connections by selecting them both and then just selecting the appropriate option from the context menu.

Or you could use e.g. Connectify to accomplish what you want, but that requires a software installation.






share|improve this answer























  • im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
    – Welsh King
    Dec 9 '12 at 15:01


















up vote
0
down vote













On Windows 10 (which seems to have all the same network features):




  1. Right-click the WiFi icon on the taskbar.

  2. Open Network and sharing center.

  3. Select Change adapter settings on the left.

  4. Right-click the adapter you want to use and select Properties.

  5. Click Sharing.

  6. Click Allow other users to connect through this computer's internet connection.

  7. If necessary, select your ethernet port.


I use this when I need to configure a new install on my Raspberry Pi. It works like a charm. Plus the Pi does not need a crossover cable, as it configures that automatically.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f516808%2fsharing-a-windows-7-wifi-connection-with-a-raspberry-pi%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    The simplest solution would be to just enable ICS, but that does not seem to work with Win7 Starter Edition or if the NIC of the wireless adapter does not have any "share" option (perhaps caused by the network adapter driver).

    Another way is to bridge the wireless and the wired connections by selecting them both and then just selecting the appropriate option from the context menu.

    Or you could use e.g. Connectify to accomplish what you want, but that requires a software installation.






    share|improve this answer























    • im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
      – Welsh King
      Dec 9 '12 at 15:01















    up vote
    0
    down vote













    The simplest solution would be to just enable ICS, but that does not seem to work with Win7 Starter Edition or if the NIC of the wireless adapter does not have any "share" option (perhaps caused by the network adapter driver).

    Another way is to bridge the wireless and the wired connections by selecting them both and then just selecting the appropriate option from the context menu.

    Or you could use e.g. Connectify to accomplish what you want, but that requires a software installation.






    share|improve this answer























    • im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
      – Welsh King
      Dec 9 '12 at 15:01













    up vote
    0
    down vote










    up vote
    0
    down vote









    The simplest solution would be to just enable ICS, but that does not seem to work with Win7 Starter Edition or if the NIC of the wireless adapter does not have any "share" option (perhaps caused by the network adapter driver).

    Another way is to bridge the wireless and the wired connections by selecting them both and then just selecting the appropriate option from the context menu.

    Or you could use e.g. Connectify to accomplish what you want, but that requires a software installation.






    share|improve this answer














    The simplest solution would be to just enable ICS, but that does not seem to work with Win7 Starter Edition or if the NIC of the wireless adapter does not have any "share" option (perhaps caused by the network adapter driver).

    Another way is to bridge the wireless and the wired connections by selecting them both and then just selecting the appropriate option from the context menu.

    Or you could use e.g. Connectify to accomplish what you want, but that requires a software installation.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 20 '17 at 10:17









    Community

    1




    1










    answered Dec 9 '12 at 13:59









    mousio

    618513




    618513












    • im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
      – Welsh King
      Dec 9 '12 at 15:01


















    • im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
      – Welsh King
      Dec 9 '12 at 15:01
















    im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
    – Welsh King
    Dec 9 '12 at 15:01




    im using ICS on Windows 7 Premium, but when i use it it says it cant find DHCP "DHCPDISCOVER on eth0 to 255.255.255.255 port 67" Cant bridge the connection as it requires 2 lan connections.
    – Welsh King
    Dec 9 '12 at 15:01












    up vote
    0
    down vote













    On Windows 10 (which seems to have all the same network features):




    1. Right-click the WiFi icon on the taskbar.

    2. Open Network and sharing center.

    3. Select Change adapter settings on the left.

    4. Right-click the adapter you want to use and select Properties.

    5. Click Sharing.

    6. Click Allow other users to connect through this computer's internet connection.

    7. If necessary, select your ethernet port.


    I use this when I need to configure a new install on my Raspberry Pi. It works like a charm. Plus the Pi does not need a crossover cable, as it configures that automatically.






    share|improve this answer



























      up vote
      0
      down vote













      On Windows 10 (which seems to have all the same network features):




      1. Right-click the WiFi icon on the taskbar.

      2. Open Network and sharing center.

      3. Select Change adapter settings on the left.

      4. Right-click the adapter you want to use and select Properties.

      5. Click Sharing.

      6. Click Allow other users to connect through this computer's internet connection.

      7. If necessary, select your ethernet port.


      I use this when I need to configure a new install on my Raspberry Pi. It works like a charm. Plus the Pi does not need a crossover cable, as it configures that automatically.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        On Windows 10 (which seems to have all the same network features):




        1. Right-click the WiFi icon on the taskbar.

        2. Open Network and sharing center.

        3. Select Change adapter settings on the left.

        4. Right-click the adapter you want to use and select Properties.

        5. Click Sharing.

        6. Click Allow other users to connect through this computer's internet connection.

        7. If necessary, select your ethernet port.


        I use this when I need to configure a new install on my Raspberry Pi. It works like a charm. Plus the Pi does not need a crossover cable, as it configures that automatically.






        share|improve this answer














        On Windows 10 (which seems to have all the same network features):




        1. Right-click the WiFi icon on the taskbar.

        2. Open Network and sharing center.

        3. Select Change adapter settings on the left.

        4. Right-click the adapter you want to use and select Properties.

        5. Click Sharing.

        6. Click Allow other users to connect through this computer's internet connection.

        7. If necessary, select your ethernet port.


        I use this when I need to configure a new install on my Raspberry Pi. It works like a charm. Plus the Pi does not need a crossover cable, as it configures that automatically.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 27 '16 at 21:40









        Kamil Maciorowski

        23.2k155072




        23.2k155072










        answered Dec 27 '16 at 17:53









        user173724

        314313




        314313






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f516808%2fsharing-a-windows-7-wifi-connection-with-a-raspberry-pi%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix