LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-12-2006, 05:06 AM   #1
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Rep: Reputation: 15
Mail problem through WiFi Bridge that works perfectly for all other protocols


I'm using a Belkin F5D7330uk "802.11g Wireless Ethernet Adapter" to connect my WiFi enabled laptop to the otherwise wired home network. This is built round a Smoothwall (express 2.0) firewall, providing services such as DHCP, DNS cache, transparent web proxy etc. I've been using the smoothie for several years and really pleased with it BTW.

The 7330 is set to AdHoc mode and receives basic configuration (netmask, private ip address, gateway) from DHCP, these appear correct and I can see no other settings available apart from channel, encryption etc.

The laptop wireless card has a static IP address in the same sub-net (though outside the band allocated to DHCP) and the default route is the smoothie box. It's an HP Pavilion zv5000 running OpenSuSE 10.1 (kernel 2.5.13) and the local firewall is active with only SSH enabled. Also tried disabling local firewall, no effect on the problem.

Web browsing (firefox or konqueror) works perfectly on the laptop, as does NFS file sharing, CUPS printer access - even realplayer streaming audio and video are just perfect. However POP3 email receipt and SMTP mail sending are broken - conenction simply times out. I'm using Thunderbird, up-to-date version from the distro. Same version on a - wired - desktop machine works perfectly.

The web proxy log on smoothie shows the laptop's static address for the browser activity, indicating that (at least for this connection) the bridge is simply forwarding the packets transaparently, as desired. I can see no firewall (or proxy) logs pertinent to the mail problem.


Apart from trying to analyse packets on the line with ethereal - my reluctant next step - can anyone please suggest why email is broken when routed through the WiFi bridge?
 
Old 06-13-2006, 07:19 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
To be honest, my first suspect would be Thunderbird. I'd go through the various configurations with a fine-tooth comb and make sure all settings (servers, users, passwords) are correct. If you can, I'd test it either on another network or from in front of the Smoothwall box.
 
Old 06-13-2006, 08:07 AM   #3
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Original Poster
Rep: Reputation: 15
Hmm, I suspected thunderbird too, so I copied the ~/.thunderbird from the desktop machine (in fact both are now pointers to an NFS share). I can't see it making a difference, but both installations use the same "Local Folders" directory as well, also via NFS (and therefore share the lock file!). No change. The only difference is the presence of the WiFi bridge in the laptop's network connection.

So next I wound up ethereal, though I'm far from expert with it. I'd like to filter out the NFS, CUPS etc. stuff but can't see how to, what I can see is that TB asks DNS for the IP of the mail server, gets it (from Smoothie) then sends a TCP request to it. There's no reply to this - hence no mail.

I need next to sniff on the other side of the bridge, as I don't know which of these points it's getting to:

1. the packet fails to reach the firewall (due to some config issue in the WiFi bridge)
2. the packet reaches the firewall, but is dropped (can't see any sign in the FW logs)
3. the packet gets out to the mail server but the reply is dropped (again, nothing in FW logs)
4. the reply is routed to the bridge where it's lost

So I'm making progress, but very slowly. We're in a heatwave here in southern England, it reached 33' in my office yesterday and the cupboard where the server and firewall live was even hotter (air con is pretty rare here!). This isn't helping! I do have an old hub and spare PC which I can use as a sniffer though.

Thanks for the suggestion anyway, any more ideas please !?
 
Old 06-14-2006, 07:19 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I can see is that TB asks DNS for the IP of the mail server, gets it (from Smoothie) then sends a TCP request to it. There's no reply to this - hence no mail.
That's some nice work so far. And I think it clears TB of suspicion of wrongdoing. I also agree that the next logical step is to sniff the other side of Smoothwall and see if TB packets are getting past it.


Quote:
The 7330 is set to AdHoc mode
Sorry I missed this from your first post, but are you sure this is running in AdHoc mode? Usually you use Managed or Auto for a network set-up like yours. If you are in AdHoc try the other two and see if it makes a difference.


The only other thing I can think of is to connect the laptop via CAT5 and see if that works. If you use the same static IP and settings on a wired connection and it works, that suggests that the wireless config is the problem. If it doesn't work, it points to Smoothwall as the culprit.

Quote:
it reached 33' in my office yesterday
Ouch! With temperatures like that I bet your system is just staging a work slow-down trying to keep cool.
 
Old 06-19-2006, 02:56 PM   #5
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Original Poster
Rep: Reputation: 15
Hi again, It's finally cooled down a bit and I managed to resurrect an old PC to use as a sniffer. It seems that my suspicion above was correct - the Belkin F5D7330uk isn't forwarding the POP3 request to the ISP.

The big question is how to get around this - I'm stumped. I'll ask in a few other fora now I have a better handle on the problem (and will report back here if and when I solve it!)

Cheers
Richard
 
Old 06-19-2006, 04:37 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Since the Belkin device works for other forms of communications, I think the driver can be ruled out. In fact the only thing that makes any sense to me would be a firewall rule that is dropping packets. Do you have a firewall on this machine?
 
Old 08-14-2006, 02:22 PM   #7
Mq2004
LQ Newbie
 
Registered: Oct 2004
Location: Oxford, England
Distribution: SuSE since 5.2 - currently enjoying OpenSuSE 10.3 and testing 11.0 alphas
Posts: 24

Original Poster
Rep: Reputation: 15
Finally gave up on the belkin and bought a sitecom wireless router which I'm using with the dsl port & dhcp server switched off. It all works perfectly, with no changes to the setup of any of my linux machines.

To help others who may follow:

Belkin F5D7330uk can be used as an access point (that's what it's sold as) but in at least some circumstances it fails to forward some packets, esp. those destined for an external (i.e. outside the subnet mask) POP server.

Thanks to all who helped (i.e. Hangdog42)
--
Cheers
Richard.
 
Old 08-14-2006, 03:53 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Thanks for posting what you found. It sounds as if that Belkin access point isn't worth anything.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wifi protocols slinky2004 Linux - Hardware 2 09-29-2005 10:21 PM
Steam problem: Half-Life works perfectly but can't create/join games with CS 1.6. pujolasdf Linux - Games 9 02-09-2005 11:20 AM
Debian GRUB gives error 18; Fedora works perfectly; why? jariep Debian 4 01-26-2005 02:30 PM
Telewest Broadband UK via USB modem Works Perfectly! kamal2099 Red Hat 0 03-01-2004 04:53 PM
All works perfectly except DNS fend88 Linux From Scratch 4 05-01-2002 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration