LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2005, 07:51 AM   #1
jamesf303
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Question No HTTP traffic after changing to a new router


Hi Linux Dudes,

I have a fedora (FC3) box that I am setting up to run MythTV.

All was working fine with my current ADSL router (Origo 8400) - My win XP pc could talk to the internet, the fodora box could talk to the internet and the two boxes could talk to each other (Samba and HTTP (apache on the FC3 box)

I got a new router (SafeCom) that has wireless. I have sucessfully set up the router for wired and wireless on my XP pc but the FC3 box wont play along.

The FC3 box gets it IP etc through DHCP OK. I can ping internally (the router and my XP pc) and also sites on the internet (i.e. google.com).
When I try to access a webpage in Firefox (or Lynx) it just sits there... The DNS lookup seems to work ok because firefox shows "Looking up somesite.com" then "Connecting to somesite.com" but no actual HTTP traffic is transferred.

Interestingly, wget seems to be able to grab the front page from google, yahoo etc with no problems.

My initial thoughts were that it might have been something to do with having set up Fedora Linux with a 10.0.0.5 IP addr allocated by the my old router (origo) but now its being allocated a 192.168.1.x ip address by my new router.

With that in mind, I set up my new router to allocate 10.0.0.x IP via DHCP. I then used KDE network settings dialogue window to deactivate and re-activate the eth0 interface thus getting re-DHCPed.

Still no luck with the old IP address (10.0.0.5). Looking at the o/p from ifconfig I could see that the broadcast address was different:

OLD:

eth0 Link encap:Ethernet HWaddr 00:118:3D:5F:1D
inet addr:10.0.0.5 Bcast:255.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::211:d8ff:fe3d:5f1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:99478 errors:0 dropped:0 overruns:0 frame:0
TX packets:76101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92131578 (87.8 MiB) TX bytes:5123061 (4.8 MiB)
Interrupt:11 Base address:0xe000


NEW:

eth0 Link encap:Ethernet HWaddr 00:118:3D:5F:1D
inet addr:10.0.0.5 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::211:d8ff:fe3d:5f1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:99254 errors:0 dropped:0 overruns:0 frame:0
TX packets:75976 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92115389 (87.8 MiB) TX bytes:5115003 (4.8 MiB)
Interrupt:11 Base address:0xe000


I used ifconfig to force the bcast to the old value (255.255.255.255) but (surprise surprise) that didn't work either.

Just out on interest, I whacked in a Knoppix (3.7) CD that I have and rebooted. When Knoppix came up I was able to use Konqueror to browse the net etc. This proves to me that the issue is not with the router/linux combination but with the FC3 settings.

In case you can't tell, I am not exactly a linux expert (I'm not too bad though ) so any pointers or ideas on how to debug this problem would be greatly appreciated!! Maybe there is some file in which network settings were hard-coded at install time?? or a log to check that might give useful information?


Thanks in advance,

james

Last edited by jamesf303; 05-16-2005 at 07:54 AM.
 
Old 05-16-2005, 10:42 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,207

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Just a guess, do you have a default route set? Log as SU and do a "route" command. If you have a default route set, it will be listed. If not, set one and try again.

Here is an example of route output.

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
 
Old 05-16-2005, 10:57 AM   #3
jamesf303
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Cliff,

Thanks for the pointer - I'll have a check when I'm back home tonight.
It seems odd that it would work with one router but not the other though??

James
 
Old 07-27-2005, 02:11 AM   #4
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
fedora\rhel & Firefox\Thunderbird & 3 Tricks

(1) Try disabling IPv6 if enabled

(2) Ensure SELinux & Firewall\IPChanins are disabled, especially if you don't know how they work

(3) ensure that your DNS \ \etc\resolv.conf has at least 1 DNS entry of yuour ISP, NOT your Router, even if Windows doesn't

(4) If all else fails, download the latest RPM for your app
 
Old 11-11-2006, 07:44 AM   #5
poop21
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Its probably that the browser defaults to a proxy server on port 8080. Just remove the proxy and you should be fine! Not sure where on the firefox settings but should be easy enough to find (worked for me btw)
 
Old 05-25-2007, 11:57 PM   #6
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Are YOU able to see the NEW Router in YOUR browser...to set up the NEW Router through the web page? If Yes, then delete the old router settings. Then set up the NEW Router through YOUR browser. After rebooting, try the command line interface with "ifconfig -a", "ifconfig", "lspci", "lsusb", "lsmod", "modprobe", "route -n", "ethtool", and "dig". Also the man pages for "iwconfig" and "ethtool". Still troublesome, try here...http://www.tldp.org/HOWTO/HOWTO-INDEX/howtos.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
how to find http traffic and mail traffic alone? basbosco Linux - General 1 06-07-2005 10:29 PM
a tool to analyze http traffic ? caterboy Slackware 2 09-21-2004 11:34 PM
HTTP Traffic crawling along ericnmu Linux - Networking 7 07-12-2004 12:38 AM
sniffing network traffic, linux server between firewall and router, only want http sabah Linux - Networking 2 10-20-2003 12:47 PM

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

All times are GMT -5. The time now is 04:14 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