Zimmlar
Posts: 2
Joined: Tue Aug 19, 2014 10:26 am

Ssh drops network

Tue Aug 19, 2014 10:45 am

Hi everyone,
I'm Italian so sorry if my english isn't that good.
I've bought for a week a new Raspberry Pi B+ and a wifi dongle Edimax ew-7811un. I've configured the /etc/network/interfaces and the /etc/wpa_supplicant/wpa_supplicant.conf files and now the RasPi can connect to the Internet without problems with a static ip. When I try to connect my mac to the RasPi with ssh over the wifi I can establish the connection but if I write a command in my terminal the whole wifi network drops for all the connected devices in the house and after 30 seconds restarts. Then I tried to connect the RasPi to the internet with an Ethernet cable after I plugged out the dongle and then i could connect my mac with ssh without problems. But I need to have the RasPi connected only via wifi and not with the ethernet cable. So what can i do? Thanks in advance :)

This is my interfaces file:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet static
address 192.168.1.115
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.255
gateway 192.168.1.1

auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address 192.168.1.115
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.1
broadcast 192.168.1.255
And this is the wpa_supplicant.conf file:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="secret-ssid"
        psk="secret-psk"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        auth_alg=OPEN
}

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Ssh drops network

Fri Aug 22, 2014 3:01 am

This kind of trouble could be due to an inadequate power supply, or inadequate memory/cpu for the task at hand.

USB is pretty weak on the model B, I don't know if it is any better on the B+.

What do you have attached to your Pi, and what are you using for a power supply? Are you sure it is enough?
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Zimmlar
Posts: 2
Joined: Tue Aug 19, 2014 10:26 am

Re: Ssh drops network

Fri Aug 22, 2014 9:07 am

It's connected to the house current with a mini usb cable. I have a a mouse and a keyboard attached to the pi but I already tried to plug everything but the dongle out and the result was the same

Return to “Beginners”