You are not logged in.

#1 2011-12-24 05:47:07

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Strange issue with network

Howdy, Archers.

Not sure what's going on here, but I'm back home from college for the winter break and I have discovered that none of my internet-based messaging applications work. Pidgin/Finch are not working (the account information is fine and I can chat over Meebo), nor is Claws-Mail. In addition to this, mpdscribble is no longer sending data to Last.fm. I am quite at a loss, advice/input would be greatly appreciated.

Happy Holidays to those of you that are celebrating.

Offline

#2 2011-12-24 19:38:27

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

Bumping.

I also noticed that whois does not work either.

Offline

#3 2011-12-24 20:10:48

Proofrific
Member
Registered: 2008-01-05
Posts: 221

Re: Strange issue with network

Is a firewall blocking the ports? For example, something like http://support.google.com/talk/bin/answ … swer=27930 in the case of Google Talk.

Offline

#4 2011-12-25 05:46:21

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

That may be the case, but I'm not sure. How would I check for that, and if it was set, how would I deal with it?

Offline

#5 2011-12-25 05:51:58

darnir
Member
Registered: 2011-12-21
Posts: 47

Re: Strange issue with network

Are you using wireless? There is an issue with the latest kernel upgrade, 3.1.5, that breaks the Intel AGN 5100 wireless card. Others may be affected too. Check it out, and try downgrading your kernel. That should help.

Offline

#6 2011-12-25 20:57:20

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

Thanks for the tip. Unfortunately, it's a no-go. Downgraded the kernel, rebooted, nada. Not sure why. I use a Broadcom card, if that helps, but I've never had problems with it.

The downgrade was to 3.1-4, should I try all the way to 3.0.7 ?

Offline

#7 2011-12-26 18:07:57

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

janvaletin wrote:

The downgrade was to 3.1-4, should I try all the way to 3.0.7 ?

No, you dont have to try that. He was referring to downgrading to 3.1-4.
Look at the router, if that is blocking some traffic and of course your linux firewall (if you have configured any special).


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#8 2011-12-26 22:05:56

noahc
Member
Registered: 2011-12-06
Posts: 23

Re: Strange issue with network

It sounds to me like a firewall issue.

Do websites work? If you don't use a web interface can you send and receive mail using IMAP and SMTP?

If you have two computers and can run the same program using the same ports on them and they both don't work you need to look upstream. Probably your router.

If the same port works on one and not on the other, I'd explore the the firewall settings on your machine.

Offline

#9 2011-12-28 13:08:00

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

I was able to plug my Windows desktop into my router (wired connection) and use Steam, if that helps.

Where would I find firewall settings in Arch?

Offline

#10 2011-12-28 13:51:59

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

janvaletin wrote:

Where would I find firewall settings in Arch?

Try

iptables -L

and look at the OUTPUT chain portion. But if you have not configured any on the pc, it is unlikely your problem from a standard install.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#11 2011-12-28 15:05:24

noahc
Member
Registered: 2011-12-06
Posts: 23

Re: Strange issue with network

janvaletin wrote:

I was able to plug my Windows desktop into my router (wired connection) and use Steam, if that helps.

Where would I find firewall settings in Arch?

You should test the same ports. You said you are using claws-mail so the easiest thing to do is download thunderbird and reset up your email on that windows machine the exact same way. Using the same ports (pop3/imap and SMTP) and then try to send and receive mail like you do in claws-mail. If this doesn't work it's your router. If it does work it's your machine.

Another solution, that might be easier depending on your skill level is to run

route 

. It will tell you your gateway and then you can go to http://<whatever your gateway is> and login and hunt around for settings that might be blocking these ports. The gateway is probably 192.168.0.1 or 192.168.1.1.

It depends on the hardware, but you can run different rules and filters based on interface. For example, if the computer is plugged in via ethernet allow everything, if using wifi block ports x,y,z. You mentioned using a laptop, have tried doing this over a wired connection?

Offline

#12 2011-12-29 09:56:28

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

Output of "iptables =L":

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Tried messing with the firewall, but even with the firewall turned off, it doesn't seem like anything is working.

Yaourt doesn't work, but pacman works just fine.

Offline

#13 2011-12-29 10:38:57

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

janvaletin wrote:

Tried messing with the firewall, but even with the firewall turned off, it doesn't seem like anything is working.
Yaourt doesn't work, but pacman works just fine.

You might just want to leave the firewall for now in the settings that worked with the machine and your applications in the past.
I don't really have an idea why pacman might work, but whois and Yaourt not.

Did I understand it correctly that the same machine/notebook worked on a different network with all the stuff that now fails? 
If yes, I agree that the router is the most probable cause. If not, check

IP route
IP addr

once connected. Check also /etc/resolv then that it has nameservers and finally

sudo less /var/log/everything.log |grep -m 20  yourwiredinterface

for errors after re-plugging the cable.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#14 2011-12-29 20:13:05

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

This laptop worked on my campus network.

/etc/resolve.conf has my home network listed as a nameserver.

This is the output of the command you gave me:

Dec 25 08:56:41 localhost kernel: [31296.324348] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 08:56:52 localhost kernel: [31307.811013] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 10:22:09 localhost kernel: [36424.309415] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 10:22:20 localhost kernel: [36435.823804] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 14:54:03 localhost kernel: [    4.601083] tg3 0000:08:00.0: eth0: Tigon3 [partno(BCM95784M) rev 5784100] (PCI Express) MAC address f0:4d:a2:48:f3:1b
Dec 25 14:54:03 localhost kernel: [    4.601088] tg3 0000:08:00.0: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
Dec 25 14:54:03 localhost kernel: [    4.601091] tg3 0000:08:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
Dec 25 14:54:03 localhost kernel: [    4.601094] tg3 0000:08:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
Dec 25 14:54:13 localhost kernel: [   19.118988] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 14:54:22 localhost kernel: [   27.924123] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 17:45:38 localhost kernel: [10303.356420] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 17:45:49 localhost kernel: [10314.865159] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 22:09:56 localhost kernel: [26161.385172] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 25 22:47:39 localhost kernel: [28424.822593] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 26 02:24:38 localhost kernel: [    4.566845] tg3 0000:08:00.0: eth0: Tigon3 [partno(BCM95784M) rev 5784100] (PCI Express) MAC address f0:4d:a2:48:f3:1b
Dec 26 02:24:38 localhost kernel: [    4.566849] tg3 0000:08:00.0: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
Dec 26 02:24:38 localhost kernel: [    4.566853] tg3 0000:08:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
Dec 26 02:24:38 localhost kernel: [    4.566856] tg3 0000:08:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
Dec 26 02:24:47 localhost kernel: [   29.200456] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 26 02:24:56 localhost kernel: [   37.966206] ADDRCONF(NETDEV_UP): eth0: link is not ready

Wired connection made no difference in whether or not I could use yaourt or claws-mail. Pacman works fine.

Offline

#15 2011-12-30 12:02:57

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

Add another nameserver just in case.
I dont understand why your connection works at all given that ouput above. Post the other command output as well please.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#16 2011-12-31 00:20:06

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: Strange issue with network

darnir wrote:

Are you using wireless? There is an issue with the latest kernel upgrade, 3.1.5, that breaks the Intel AGN 5100 wireless card. Others may be affected too. Check it out, and try downgrading your kernel. That should help.

Are you sure of that? I'm having problems right now with my Intel WiFi 5100 AGN... Sometimes I get DNS error on the browser, I just turn off and on my wireless card and the problem disappears, but I'm not sure if that the problem that you're referencing to... Does downgrading to 3.1-4 solves this problem?

Thanks!

Offline

#17 2011-12-31 18:14:37

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

default via 192.168.2.1 dev wlan0  metric 303 
192.168.2.0/24 dev wlan0  proto kernel  scope link  src 192.168.2.9  metric 303 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether f0:4d:a2:48:f3:1b brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:22:5f:ae:b0:13 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.9/24 brd 192.168.2.255 scope global wlan0
    inet6 fe80::222:5fff:feae:b013/64 scope link 
       valid_lft forever preferred_lft forever

Offline

#18 2012-01-01 09:38:50

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

Thanks. Yet it was my mixing up of the command above to grep the log. It should have been

sudo tail /var/log/everything.log |grep -m 20  eth0

The result above showed not the last events, but some random (which I should have seen from the output). The IP output does not show anything special in my mind, just that you apparently were connected with wifi and not eth0.
I have no further idea currently. You might try dhclient instead of dhcpcd and see if that changes anything. What do you have in your daemons array in rc.conf?

@Aurusgamma: if it works generally, that downgrading probably won't make a difference. Maybe though the new kernel changes something for you. Also you might want to try dhclient.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#19 2012-01-02 21:22:48

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

sudo tail /var/log/everything.log |grep -m 20  eth0

has no output.

rc.conf daemons array:

DAEMONS=(hwclock syslog-ng !network dbus udevd wicd netfs crond @gpm vboxdrv @mpd)

Offline

#20 2012-01-02 22:09:43

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

The output was maybe not there because you used wlan0 to connect. Try putting the network down and up manually and look in the log file then at that time of the event. Does using another mail application work?


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#21 2012-01-03 07:25:21

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

Thunderbird did not work, but wanderlust in gmail functions correctly (set up according to this page).

Yaourt, claws-mail, etc. still do not function correctly.

Last edited by janvaletin (2012-01-03 07:26:09)

Offline

#22 2012-01-03 22:03:33

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

Maybe you have some proxy server set up in preferences (from university campus or so).
The main root problem must be that some of the basic networking like whois dont work. It is good to test such manually (I think).


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#23 2012-01-04 15:51:54

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

To test it manually, I just plug the ethernet cable in, then? Where would the log file for that be?

Also, while yaourt does not work, I can download packages from the AUR. However, makepkg fails because it tries to download from sourceforge and fails. However, I can build things from source.

whois is definitely not functioning. This is what I get for "whois reddit.com":

getaddrinfo(whois.crsnic.net): Name or service not known

Offline

#24 2012-01-04 18:38:02

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Strange issue with network

janvaletin wrote:

To test it manually, I just plug the ethernet cable in, then? Where would the log file for that be?

No, you (1)stop wicd, take the (2) interface down with ip link set down, (3) up again and do (4) dhcp for an IP address. (for freshup)

Last edited by Strike0 (2012-01-04 18:40:41)


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#25 2012-01-07 01:02:55

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: Strange issue with network

Sorry about the delay!

For wireless connection:

[gabriel@barad-dur ~]$ sudo rc.d stop wicd
:: Stopping wicd Daemon                                                                                            [DONE] 
[gabriel@barad-dur ~]$ sudo ip link set down wlan0
[gabriel@barad-dur ~]$ sudo ip link set up wlan0
[gabriel@barad-dur ~]$ sudo dhcpcd -k
dhcpcd[5120]: sending signal 1 to pid 4889
dhcpcd[5120]: waiting for pid 4889 to exit
[gabriel@barad-dur ~]$ sudo dhcpcd
dhcpcd[5160]: version 5.2.12 starting
dhcpcd[5160]: wlan0: rebinding lease of 192.168.2.9
dhcpcd[5160]: eth0: waiting for carrier
dhcpcd[5160]: wlan0: acknowledged 192.168.2.9 from 192.168.2.1
dhcpcd[5160]: wlan0: leased 192.168.2.9 for infinity
dhcpcd[5160]: forked to background, child pid 5206

For wired connection:

[gabriel@barad-dur ~]$ sudo rc.d stop wicd
:: Stopping wicd Daemon                                                                                           [DONE] 
[gabriel@barad-dur ~]$ sudo ip link set down eth0
[gabriel@barad-dur ~]$ sudo ip link set up eth0
[gabriel@barad-dur ~]$ sudo dhcpcd -k
dhcpcd[5950]: sending signal 1 to pid 5206
dhcpcd[5950]: waiting for pid 5206 to exit
[gabriel@barad-dur ~]$ sudo dhcpcd
dhcpcd[5973]: version 5.2.12 starting
dhcpcd[5973]: wlan0: up_interface: Operation not possible due to RF-kill
dhcpcd[5973]: eth0: broadcasting for a lease
dhcpcd[5973]: wlan0: waiting for carrier
dhcpcd[5973]: eth0: offered 192.168.2.18 from 192.168.2.1
dhcpcd[5973]: eth0: acknowledged 192.168.2.18 from 192.168.2.1
dhcpcd[5973]: eth0: checking for 192.168.2.18
dhcpcd[5973]: eth0: leased 192.168.2.18 for infinity
dhcpcd[5973]: forked to background, child pid 6010

When I was testing the wired connection, I turned off my wireless so it wouldn't interfere with the results.

Last edited by janvaletin (2012-01-07 01:05:29)

Offline

Board footer

Powered by FluxBB