1 of 1 people found this helpful
I'm going to guess that your laptop is running windows.
Windows treats different networks with different firewall rules, so at work it says "yeah, this is a corporate network, let the guy do whatever he wants" and at home it says "nah, this is a home network. Home users know nothing. I'm not letting any of that through"
The fix is to figure out how to tell windows to trust you home network the same it trusts your work network.
I'm not sure how to do that, because I never use Windows.
Thanks for your response.
I was looking at that and also spoke to the network administrator at work. I completely disabled Windows firewall, and unless Windows has different levels of "disabling", then there should be no firewall. I just checked again and all of the Windows firewall setting are showing RED and screaming at me that the firewall is disabled.
Also, I can't even ping this thing but I am able to ping any other device on this home network.
Hmmm. Interesting. So it doesn't look like a firewall issue.
When you said you use PuTTY to log on - are you using the Serial port (USB Cable) to do that?
If so, you could try logging on and then try a couple of things...
1. Try to ping a device from the edison, so while logged onto the edison in PuTTY try to ping your laptop, router, etc
2. Enter the following command and paste the results here:
3. Enter the following commands and paste the results here:
*EDIT* Corrected mis-spelled command lines.
This message was posted on behalf of Intel Corporation
Do you still need assistance with this thread? In case you do, please reply with the information @SpiderKenny requested.
We’ll be waiting for your response.
I've been away and have not been able to check any of the things you suggested, but will do so tomorrow.
Thanks for hangining in.
You might want to try to disable ipv6 on the Edison. In our office we have a typical home modem/router(fritz.box). While setting up the ipv6 through dhcp (which happens after ipv4) the edison and router get into a runaway situation (like a denial of service) that blocks traffic on the edison and congested our network. After disabling ipv6 on the Edison (but leaving ipv4 of course) everything works normal. Similarly, disabling ipv6 on the router and leaving on on the Edison worked too.
Thanks for your suggestion.
Not knowing how to disabled ivp6 on the Edison, I took to the internet. I got this advice on a search to "disable ipv6 edison":
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
I still cannot ping my board...
I never tried the method you used, it looks nice and clean.
To disable de ipv6 on the wifi we used:
# vi /var/lib/connman/wifi_????????????????/settings
Under /var/lib/connman are the various connections you may have setup. We have 2 wifi and an ethernet:
root@yuna:~# ls -l /var/lib/connman/
drwx------ 2 root root 4096 Sep 1 2016 ethernet_00800f951d4d_cable
-rw------- 1 root root 213 Apr 1 20:44 settings
drwx------ 2 root root 4096 Apr 19 06:55 wifi_000000000000_4578616c6f6e44656c66743547_managed_psk
drwx------ 2 root root 4096 Jul 26 2016 wifi_fcc2de3b0baa_4578616c6f6e44656c66743547_managed_psk
So for instance:
root@yuna:~# cat /var/lib/connman/wifi_000000000000_4578616c6f6e44656c66743547_managed_psk/settings
And then of course: reboot now
But I may be well that you are experiencing another problem of course.
This turned out to be the problem, found, just prior to giving up in abject dispair:
From the serial consol:
ifconfig usb0 down
And that was literally that. I can now ping with reckless abandon.
My project for the next month or so will be to figure out how to get this thing to start up this way. I can't much see the point of having wireless connectivity if I have to go to the device and connect through a WIRED cable to eliminate some conflict.
Also a mystery: I don't have to do this when I am connecting to my work network. What's up with that?
After reading a few more WEB pages, I figured this out.
In the directory: /etc/systemd/network
There is a file called "usb0.network"
It is short and sweet:
I did not create this file and I never altered it. It came with the Yocto version I am running.
This thing sets up the USB0 port to behave like a local TCP/IP connection. To get Windows to work with this arrangment, you have to go to your control panel under "Network Adaptor" settings, select "Change Adaptor Settings" and look for a connection called "Intel Edison USB RNDIS Device". Pull up the Properties Panel for that and go to the network tab. Look for the "Internet Protocol Version 4 (TCP/IP IPv4)" item. Select that and then "Properties" again.
You set the IP Address to 192.168.2.2
Set the subnet mask to 255.255.255.0
All this is described in detail here:
All of that is to get your USB port on your Edison to look like an IP address of 192.168.2.15 (the IP address range of 15-24 was specified by the "usb0.network" file).
Now, I had been using this wired USB connection, after making those changes, for the last two months. I had followed the instructions from the page I provided above. And, again, I was able to use actual wireless WiFi at on my work network but it would not work on my Home network. The reason? This USB configuration would create a conflict.
Why not at work as well? My WORK network WiFi was setup to use subnet 40. My home network is using subnet 2 (the same subnet as my magical USB0 imitation Ethernet connection).
So I stumbled on this, which would temporarily fix the problem, entering through the serial port consol:
ifconfig usb0 down
This would temporarily fix the problem but each time I started up, I had to do it all over again, which kind of defeats the intention of wireless connectivity.
Here is how I fixed it for good:
That file, usb0.network, can be edited. Change the subnet to something other than what your wireless network uses. I used 3:
I also had to go back into the Network Adaptors configuration and change the subnet for that USB RNDIS interface to 3 as well.
Now I reset the Edison and I have BOTH my "Ethernet over USB" over subnet 3 AND my actual WiFi connectivity over subnet 2.
That is several weeks of my life that I will never get back, but I share my experience here lest any of you go through the same miserable episode.
Ah, yes. I always have that USB cable unplugged, since it does not work very well (the host is an Ubuntu PC). Also we have a USB - ethernet converter in that port which requires the switch to set the USB host and than automatically disables the USB guest that you need for this.
So it seems my problem was another.