Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
987 Views

edision network connection does not work it is wifi enabled

For all I have tried, updating the firmware, enabling ssh my edision device can't connect or ping any device on the network, neither any other computer on the internet can ping the edision.

Internally device can ping itself both wlan0 and usb0 addresses, but no other external ip except the gateway itself. Also there is no sshd service running.

I went through to troubleshoot:

1) I can configure wifi

configure_edison --setup

root@edision:~# wpa_cli -i wlan0 status

bssid=bc:ee:7b:58:8e:49

ssid=something

id=0

mode=station

pairwise_cipher=CCMP

group_cipher=CCMP

key_mgmt=WPA2-PSK

wpa_state=COMPLETED

ip_address=192.168.2.87

p2p_device_address=92:b6:86:11:94:55

address=90:b6:86:11:94:55

Here is my wlan0 setting:

root@edison:~# ifconfig wlan0

wlan0 Link encap:Ethernet HWaddr 90:b6:86:11:94:55

inet addr:192.168.2.87 Bcast:192.168.2.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:5 errors:0 dropped:0 overruns:0 frame:0

TX packets:29 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:960 (960.0 B) TX bytes:4362 (4.2 KiB)

2) ping

# gateway ping

root@edision:~# ping 192.168.2.1

PING 192.168.2.1 (192.168.2.1): 56 data bytes

64 bytes from 192.168.2.1: seq=0 ttl=64 time=2.844 ms

64 bytes from 192.168.2.1: seq=1 ttl=64 time=21.133 ms

# any other fails

root@edision:~# ping google.com

PING google.com (216.58.193.110): 56 data bytes

ping: sendto: Network is unreachable

3) no http server running

wget localhost fails

Since none of the above works ssh would not work either but I changed lib/systemd/system/sshd.socket to allow incoming ssh connection to try.

Help would be appreciated.

0 Kudos
8 Replies
Highlighted
Valued Contributor II
19 Views

sshd won't run until you do:

configure_edison --password

also, please post the results of:

configure_edison --showWiFiMode

0 Kudos
Highlighted
Beginner
19 Views

password is configured.

output of wifiMode.

root@edision:~# configure_edison --showWiFiMode

Managed

Also a good news I was able to resolve some of the connectivity issues by switching to different addressing scheme starting 192.168.1.1.

The remaining issue is ssh now.

0 Kudos
Highlighted
Community Manager
19 Views

Hello sanjay23,

 

 

I understand that you are experiencing the same SSH issue even after setting the password.

 

 

Could you please provide the output of the following command?

 

cat /etc/version

 

 

Please make sure you have your Firewall turned off and that you are not behind an active VPN before trying to SSH.

 

 

I'll be waiting for your response.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Beginner
19 Views

Hi Andres,

Appreciate your help. Not behind VPN or Firewall.

Here is the output.

root@edision:~/cloud# cat /etc/version

201606061707

Cheers,

Sanjay

0 Kudos
Highlighted
Community Manager
19 Views

Hello Sanjay,

 

 

I'll be needing more time to investigate what may be preventing your board from using SSH. I tried to replicate the issue, I am using the same version as you (201606061707), and after configuring the password (as SpiderKenny suggested) I was able to SSH.

 

 

As soon as I have relevant information I'll contact you through this post.

 

 

Thank you for your patience.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Community Manager
19 Views

Hello Sanjay,

 

 

I would like you to try the setup process again, just to make sure every step is done without getting an error message. Please follow this steps and report any abnormal behavior:

 

 

1. Flash the board using the flashall script. See this guide for further information: https://software.intel.com/en-us/flashing-the-firmware-on-intel-edison-board.

 

2. Configure the WiFi connection and the SSH running the configure_edison –setup command. This will give the Edison a new IP address. Try to ping other devices that are on the same network (your PC or laptop).

 

 

If the ping is successful, SSH should be possible as long as the device is on the same network (please check and send to us the IP address of the device to verify this).

 

 

If the ping is not successful, please share the error message (just as the one you posted in the first message).

 

 

You mentioned that you changed the address from 192.168.2.0/24 to 192.168.1.0/24, when you do that have to make sure that the other devices are on the same network.

 

 

I'll be waiting for your response.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Beginner
19 Views

Thanks Andres. The issue has been fixed now.

0 Kudos
Highlighted
Community Manager
19 Views

Hello Sanjay,

 

 

I'm glad to hear that you could solve the issue.

 

 

Thank you for sharing your experience with the community, we really appreciate it.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos