You are not logged in.

#1 2015-02-25 17:56:16

craterib
Member
Registered: 2014-05-15
Posts: 13

[SOLVED] Can't connect to wifi if Ethernet is connected

I have a arch desktop with samba and ssh configured connected to a WiFi router/ADSL2 modem via ethernet.

I was not able to connect any of my mobile devices (phones and tablet) or my netbook (running windows 7 basic) to the WiFi router suddenly a few weeks back. The issue resolved when I removed the PC Ethernet cable from the router (when I disconnected the PC from router).

My router is D-Link DSL 2730 U

On logging into another user (not main user) everything works fine.

Nothing changes when I stopped samba and ssh services. Infact these services which are configured as root, start before the login and work fine with the other user.

I use console without any gui to login. I startx manually after logging in. This problem does not occur on logging in. It starts only when I startx.

On using wireshark to capture traffic on the ethernet port, this line keeps repeating:

Time                      source                     destination            protocol      length(in bytes)          information

0.007238000      192.168.1.100         224.0.0.56             UDP             1334                             Source port: 38854  Destination port: 46198

I have no idea what to do beyond this. The internet works fine when logged into main user. However other devices are not able to connect.

Please tell me how to resolve this and what is happening.

Last edited by craterib (2015-02-26 02:05:13)

Offline

#2 2015-02-25 19:00:30

poiuyt23
Member
Registered: 2011-10-12
Posts: 76

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

Googling UDP 1334 shows it is the writesrv daemon - if it is running on your system I would recommend shutting it down on the arch system.

Offline

#3 2015-02-26 00:45:12

craterib
Member
Registered: 2014-05-15
Posts: 13

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

I have updated the first post with what each value stand for.

The value following the protocol stands for the length of the packet in bytes. Sorry for not including this info initially.

The destination 244.0.0.5 seems to be the multicast address that the router uses to send hello packets as described here:http://www.techexams.net/forums/ccnp/49 … stout.html

Last edited by craterib (2015-02-26 00:57:45)

Offline

#4 2015-02-26 00:57:40

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

When you say the other devices can't connect, what do you mean? Can they see they wifi SSID? Do they display an error message when trying to connect?

What do you start with startx? A desktop environment?

224.0.0.56 seems to be a multicast address, do you have some type of media server running on the computer? VLC?

Offline

#5 2015-02-26 01:02:38

craterib
Member
Registered: 2014-05-15
Posts: 13

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

The devices can see the SSID however connecting takes too long, many times it fails and in the rare instance it connects internet does not work (its too slow so web pages say server timed out) neither does samba (this is also too slow I think,  using ES explorer in android just keeps trying to connect till it displays server offline or wlan not connected error).

I use cinnamon updated to the last version. So startx launches cinnamon.

I don't know much about media servers. I have vlc installed but not set it up as media server. I installed and used VLC remote (android app) to control the vlc player from android, however this works without a hitch in the other user. I use samba to stream videos if needed.

Last edited by craterib (2015-02-26 01:08:53)

Offline

#6 2015-02-26 01:10:48

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

You could have a look at the output of netstat, and see what's bound to port 38854

Offline

#7 2015-02-26 02:02:21

craterib
Member
Registered: 2014-05-15
Posts: 13

Re: [SOLVED] Can't connect to wifi if Ethernet is connected

Thanks for the quick reply. I found the culprit using `netstat -aup`.

It was pulseaudio. On killing it, the issue resolved temporarily. The process restarts on its own.

This solves the problem. Thanks for all the help provided @\hbar

Offline

Board footer

Powered by FluxBB