Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-04-2007, 06:13 PM   #1 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Question weird network problem in ubuntu


I have this strange problem. first I'll give the facts then the problem.

my college wifi network assign ip address using DHCP.
DHCP assigned ips are in rage of 192.168.0.0 to 192.168.1.0
proxy server is 192.168.1.2
for some weird reason DHCP assigned IP addresses are blocked for net. only ips in rage of 192.168.15.0 works for internet. so i set ip address manually.

now here is the problem. for obvious reason DHCP assigned ip address won't work, so i assign ip address manually for wireless card eth1. Say if i assign ip address to 192.168.15.244 and ping 192.168.1.2 i'm getting error msg "Network Unreachable". but other computers in ip ranges 192.168.15.0 are responding to ping. now if I assign ip address to 192.168.1.244 then it pings successfully to the proxy server. but internet does not work in 192.168.1.0 ip ranges as they are blocked. same configuration in WIndows XP i.e., 192.168.15.244 can ping successfully the proxy server and can browse internet. even my friend is also having the same problem with ubuntu 7.04. can someone solve this weird problem?
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-04-2007, 10:34 PM   #2 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: weird network problem in ubuntu

Interesting! Can u give the output of "tracert 192.168.1.2" on windows and then "traceroute 192.168.1.2" and "traceroute 192.168.15.X" (i.e any system on that range) from Ubuntu!

Also what r u using for wireless network connectivity in Ubuntu?
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 28-04-2007, 10:41 AM   #3 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: weird network problem in ubuntu

here is the traceroute information i got using 192.168.15.X ip, 255.255.255.0 subnet mask and 192.168.1.2 getway in my wifi card.
Quote:
Windows

Tracing route to 192.168.1.2 over a maximum of 30 hops 1 4 ms 5 ms 11 ms 192.168.1.2 Trace complete.

Tracing route to 192.168.15.255 over a maximum of 30 hops 1 83 ms 32 ms 20 ms 192.168.15.15 Trace complete.


UBUNTU

trace route to 192.18.1.2 failed.
Traceroute to 192.168.15.26:
Hop Hostname IP Time1
1 amitava-laptop.local 192.168.15.123 0.225ms
1 no reply *
1 amitava-laptop.local 192.168.15.123 2004.159ms
I found this interesting output using route command in ubuntu
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.15.0 * 255.255.255.0 U 0 0 0 eth1
I see there is no gateway here but i did set gateway 192.168.1.2 in my eth1 i.e., wifi card. this could be the problem?
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.

Last edited by amitava82; 28-04-2007 at 10:47 AM.
amitava82 is offline  
Old 28-04-2007, 11:09 AM   #4 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: weird network problem in ubuntu

try
Code:
sudo route add default gw <your gateway>
and then try again.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 28-04-2007, 11:45 AM   #5 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: weird network problem in ubuntu

i got the following error i try your command
Quote:
SIOCADDRT: Network is unreachable
but if i try this code
Quote:
route add 192.168.1.2 eth1
and ping 192.168.1.2 then i'm getting this output
Quote:
From 192.168.15.123 icmp_seq=2 Destination Host Unreachable
So the problem is with the route table. now how to solve it?? I've attached windows route table if that helps
Attached Files
File Type: txt route_table.txt (1.3 KB, 3 views)
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.

Last edited by amitava82; 28-04-2007 at 11:57 AM.
amitava82 is offline  
Old 28-04-2007, 12:29 PM   #6 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: weird network problem in ubuntu

Try adding eth1 to my command then.
Code:
 sudo route add default gw 192.168.1.2 eth1
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 28-04-2007, 02:39 PM   #7 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: weird network problem in ubuntu

@amitava : If ur using wireless on Ubuntu, then I suggest u use network-manager-gnome. U don't have to use static configuration then!

Since urs is wireless and can access 192.168.15.0 network also, then that network must also be having some ID (name). Try catching it.

U may use wifi-radar to detect the networks too.

Also the readings u posted for traceroute, why r there 2 entries of "amitava.local"? It looks to me as if it is going into a loop.

So I suggest u use network-manager-gnome first and then tell the story.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 28-04-2007, 05:15 PM   #8 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: weird network problem in ubuntu

I used gnome network manager for wireless. but as i told DHCP assigning ips 192.168.0.X class which are blocked for net access. only ips in 192.168.15.X are allowed for net. so its not the problem with network manager. i even tried with wifirader, knetworkmanager, wicd etc...
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 28-04-2007, 05:26 PM   #9 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Smile Re: weird network problem in ubuntu

is this to do with subnet mask values?
post here the o/p of ifconfig
Code:
~$ifconfig
in ubuntu try in cli :
Code:
~$sudo  network-admin
and try to see what errs out?!


and finally do u have iptables firewall configure with some tools for eg: lokkit,firestarter etc?
if everything fails try for once:
Code:
~$sudo iptables  -F
and try
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org
freebird is offline  
Old 28-04-2007, 05:34 PM   #10 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: weird network problem in ubuntu

YES YES!!! YES... I SOLVED THE PROBLEM. i wrote the command
Code:
route add 192.168.1.2 eth1
and my net fired up!!!!!!! Thanks everyone... time to update ubuntu and install some packages.
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 28-04-2007, 05:47 PM   #11 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: weird network problem in ubuntu

Funny. You did that before too but that didn't work
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 28-04-2007, 05:51 PM   #12 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: weird network problem in ubuntu

ya. i guess network was down that time. it happens often in my college..
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 28-04-2007, 09:21 PM   #13 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: weird network problem in ubuntu

INdeed very strange!
Quote:
Tracing route to 192.168.1.2 over a maximum of 30 hops 1 4 ms 5 ms 11 ms 192.168.1.2 Trace complete.
Since 192.168.1.2 was the next hop, it shud have been automatically added in the routing table!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird problem-plz help calvin Hardware Q&A 2 28-05-2007 10:33 AM
weird problem krisjr QnA (read only) 6 23-12-2005 06:52 PM
Weird Lan Problem zodiac_511 Networking 3 25-09-2005 08:27 PM
a weird problem.... hearthacker QnA (read only) 11 03-06-2005 08:04 PM
Weird UPS problem.... Nehaonline QnA (read only) 16 07-02-2005 12:18 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2