
[Help!] Ubuntu Problems, everything related to ubuntu goes here
[Help!] Ubuntu Problems, everything related to ubuntu goes here
|
|
Aug 20 2008, 05:35 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
how about this??
![]() |
|
|
|
|
|
Aug 20 2008, 05:53 PM
|
![]()
Junior Member
33 posts Joined: May 2006 |
|
|
|
Aug 20 2008, 08:34 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
QUOTE(scorps @ Aug 20 2008, 05:35 PM) That does not help.Try paste output of: iwconfig CODE Em it's quite annoying need to do Fn+UP whenever back from idle mode. Yes annoying. That is why I only use kernel which I compiled myself. Anyway... I don't use ubuntu. This post has been edited by oshiri: Aug 20 2008, 08:35 PM |
|
|
Aug 20 2008, 08:45 PM
|
![]() ![]()
Junior Member
200 posts Joined: Jan 2003 From: Kuching |
|
|
|
Aug 20 2008, 09:38 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
QUOTE(oshiri @ Aug 20 2008, 09:34 PM) That does not help. Try paste output of: iwconfig CODE Em it's quite annoying need to do Fn+UP whenever back from idle mode. Yes annoying. That is why I only use kernel which I compiled myself. Anyway... I don't use ubuntu. QUOTE scorps@scorps-laptop:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11g ESSID:"11g" Mode:Managed Frequency:2.462 GHz Access Point: 00:30:0A:10:C0:2A Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2346 B Link Quality=93/100 Signal level=-42 dBm Noise level=-73 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 scorps@scorps-laptop:~$ is there anything wrong? |
|
|
Aug 20 2008, 10:51 PM
|
![]() ![]() ![]()
Junior Member
357 posts Joined: May 2006 |
now you dont even getting dhcp lease..
as i said if u're using dhcp, the dhcp server and dns setting is in your router.. nothing to do with your OS.. This post has been edited by ozs: Aug 20 2008, 10:52 PM |
|
|
|
|
|
Aug 20 2008, 11:10 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
CODE doesnt debian and ubuntu are similar? Similar but not the same. Yes, Ubuntu at earlier stage follow Debian. The filesystem layout and packaging system. But now I think Ubuntu has gone it's own path. Like I said before, it does not follow Debian versioning system. It does not go through strict release system: experimental--> unstable-->testing---->stable. That is why Ubuntu can release new version every few months. Is it really stable? Everytime people file bugs...they will repair it in new release. So which is stable release? Future release? I'm not comdemning Ubuntu, just curious. CODE so what now?? is there anything wrong? Nothing wrong with your iwconfig. Your wireless connected to your router. Are you sure you have check /etc/resolv.conf and tmnet dns is on the first line? How about ping? Does it reply from outside? Something you could check, is the routing table. Try this command: ip route get 1.2.3.4 It should show it's trying to get the ip through your router. Something like this: # ip route get 1.2.3.1 1.2.3.1 via 10.0.0.1 dev wlan0 src 10.0.0.3 cache mtu 1500 advmss 1460 hoplimit 64 |
|
|
Aug 21 2008, 12:33 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
i think u need to see this one..
QUOTE scorps@scorps-laptop:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:16:d3:fc:0d:5e inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::216:d3ff:fefc:d5e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4070 errors:0 dropped:0 overruns:0 frame:0 TX packets:4970 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3158164 (3.1 MB) TX bytes:924777 (924.7 KB) Interrupt:220 wlan0 Link encap:Ethernet HWaddr 00:00:00:1a:73:9f inet6 addr: fe80::200:ff:fe1a:739f/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:101 errors:0 dropped:0 overruns:0 frame:0 TX packets:127 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7437 (7.4 KB) TX bytes:14035 (14.0 KB) wmaster0 Link encap:UNSPEC HWaddr 00-00-00-1A-73-9F-33-39-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) scorps@scorps-laptop:~$ |
|
|
Aug 21 2008, 12:48 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
ok let see this screen shot..
![]() the numbers of default route and the primary dns is same with my wifi router ip address, that why i dont understand.. i have adjusted the /etc/resolv.conf but still same,, but when using wired connection is going well even the number of primary dns is same with ip address of router.. this is my ip route for wired connection CODE scorps@scorps-laptop:~$ ip route get 1.2.3.4 1.2.3.4 via 10.0.0.2 dev eth0 src 10.0.0.10 cache mtu 1500 advmss 1460 hoplimit 64 scorps@scorps-laptop:~$ for wifi connection CODE scorps@scorps-laptop:~$ ip route get 1.2.3.4 1.2.3.4 via 10.0.0.1 dev wlan0 src 10.0.0.21 cache mtu 1500 advmss 1460 hoplimit 64 scorps@scorps-laptop:~$ Added on August 21, 2008, 1:00 amthis is my network setting,, adsl modem --->>wifi router (as switch, disable security,)>> users | | as pppoe mode gateway for modem : 10.0.0.2 gateway for router : 10.0.0.1 what else yeah?? all in dhcp mode... if connect direct to modem using wired,it's working great but if connect to wifi router using onboard wifi, that's problem happen Added on August 21, 2008, 1:06 am QUOTE(scorps @ Aug 21 2008, 01:48 AM) ok let see this screen shot.. ![]() the numbers of default route and the primary dns is same with my wifi router ip address, that why i dont understand.. i have adjusted the /etc/resolv.conf but still same,, but when using wired connection is going well even the number of primary dns is same with ip address of router.. this is my ip route for wired connection CODE scorps@scorps-laptop:~$ ip route get 1.2.3.4 1.2.3.4 via 10.0.0.2 dev eth0 src 10.0.0.10 cache mtu 1500 advmss 1460 hoplimit 64 scorps@scorps-laptop:~$ for wifi connection CODE scorps@scorps-laptop:~$ ip route get 1.2.3.4 1.2.3.4 via 10.0.0.1 dev wlan0 src 10.0.0.21 cache mtu 1500 advmss 1460 hoplimit 64 scorps@scorps-laptop:~$ Added on August 21, 2008, 1:00 amthis is my network setting,, adsl modem --->>wifi router (as switch, disable security,)>> users | | as pppoe mode gateway for modem : 10.0.0.2 gateway for router : 10.0.0.1 what else yeah?? all in dhcp mode... if connect direct to modem using wired,it's working great but if connect to wifi router using onboard wifi, that's problem happen ![]() after i edit it, it will revert back according to gateway number of modem and router... This post has been edited by scorps: Aug 21 2008, 01:06 AM |
|
|
Aug 21 2008, 07:52 AM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
Is there by any chance you are using both wired and wireless at the same time?
I meant, your wired cable still plugin while trying access using wireless. That will not work.. Like I said before, those automatic tools sometime can cause problem. Let's do the old skool. Test first: Disable automatic tool (some call zeroconfig) usually some avahi module, resolvconfig and network-manager. From you screenshot, it's network-manager. Kill all this services: 1. killall -9 dhcdbd 2. killall -9 NetworkManager 3. killall -9 NetworkManagerDispatcher Edit /etc/resolv.conf : CODE nameserver 202.188.0.133 nameserver 202.188.1.5 Now edit your /etc/network/interfaces so it will look like this: In this example, we disable the wired network so it will not clash with wireless. Test 1 1. Dynamic ip CODE auto lo wlan0 iface lo inet loopback iface wlan0 inet dhcp Restart network: /etc/init.d/networking restart Test 2 2. Static ip CODE auto lo wlan0 iface lo inet loopback iface wlan0 inet static address 10.0.0.21 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.1 Restart networking: /etc/init.d/networking restart Check ifconfig to see wlan0 get ip. See if you can connect to internet. If the above works, you better off without network-manager. Remove/uninstall network-manager and dhcdbd. So does resolvconfig. This post has been edited by oshiri: Aug 21 2008, 07:59 AM |
|
|
Aug 21 2008, 10:31 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
QUOTE(oshiri @ Aug 21 2008, 08:52 AM) Is there by any chance you are using both wired and wireless at the same time? lolll that one i know laaI meant, your wired cable still plugin while trying access using wireless. That will not work.. i tried to use wifi when my wired unplugged laa old school? i will try.. Added on August 21, 2008, 10:43 am QUOTE(oshiri @ Aug 21 2008, 08:52 AM) Now edit your /etc/network/interfaces so it will look like this: In this example, we disable the wired network so it will not clash with wireless. Test 1 1. Dynamic ip CODE auto lo wlan0 iface lo inet loopback iface wlan0 inet dhcp Restart network: /etc/init.d/networking restart Test 2 2. Static ip CODE auto lo wlan0 iface lo inet loopback iface wlan0 inet static address 10.0.0.21 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.1 Restart networking: /etc/init.d/networking restart Check ifconfig to see wlan0 get ip. See if you can connect to internet. If the above works, you better off without network-manager. Remove/uninstall network-manager and dhcdbd. So does resolvconfig. so how aa?? This post has been edited by scorps: Aug 21 2008, 10:43 AM |
|
|
Aug 21 2008, 11:11 AM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
Haiya ...
You need to edit using root or sudo in Ubuntu. sudo gedit /etc/network/interfaces |
|
|
Aug 21 2008, 11:52 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
QUOTE(oshiri @ Aug 21 2008, 12:11 PM) okay replace it using thisCODE You have to type sudo gedit /etc/resolv.conf to open it, and you should be asked for your password. Then you should be able to save it. If for any weird reason that doesn't work, save resolv.conf in your home folder and then type sudo cp ~/resolv.conf /etc/ That should copy it and over-write the original. but still can't connect loll see this.. CODE scorps@scorps-laptop:/etc/network$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 10563 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:00:00:1a:73:9f Sending on LPF/wlan0/00:00:00:1a:73:9f Sending on Socket/fallback DHCPRELEASE on wlan0 to 10.0.0.1 port 67 Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:00:00:1a:73:9f Sending on LPF/wlan0/00:00:00:1a:73:9f Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. grep: /etc/network/run/ifstate: No such file or directory [: 164: 0: unexpected operator grep: /etc/network/run/ifstate: No such file or directory [: 164: 0: unexpected operator [ OK ] scorps@scorps-laptop:/etc/network$ scorps@scorps-laptop:/etc/network$ ifconfig eth0 Link encap:Ethernet HWaddr 00:16:d3:fc:0d:5e inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::216:d3ff:fefc:d5e/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:22263 errors:0 dropped:0 overruns:0 frame:0 TX packets:19816 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:26949374 (26.9 MB) TX bytes:3197958 (3.1 MB) Interrupt:220 Base address:0xa000 wlan0 Link encap:Ethernet HWaddr 00:00:00:1a:73:9f UP BROADCAST MULTICAST MTU:576 Metric:1 RX packets:1294 errors:0 dropped:0 overruns:0 frame:0 TX packets:644 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:137589 (137.5 KB) TX bytes:67893 (67.8 KB) wlan0:avahi Link encap:Ethernet HWaddr 00:00:00:1a:73:9f inet addr:169.254.5.54 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:576 Metric:1 wmaster0 Link encap:UNSPEC HWaddr 00-00-00-1A-73-9F-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) scorps@scorps-laptop:/etc/network$ scorps@scorps-laptop:/etc/network$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... SIOCDELRT: No such process grep: /etc/network/run/ifstate: No such file or directory [: 164: 0: unexpected operator grep: /etc/network/run/ifstate: No such file or directory [: 164: 0: unexpected operator [ OK ] scorps@scorps-laptop:/etc/network$ scorps@scorps-laptop:/etc/network$ ifconfig eth0 Link encap:Ethernet HWaddr 00:16:d3:fc:0d:5e inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::216:d3ff:fefc:d5e/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:22263 errors:0 dropped:0 overruns:0 frame:0 TX packets:19816 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:26949374 (26.9 MB) TX bytes:3197958 (3.1 MB) Interrupt:220 Base address:0xa000 wlan0 Link encap:Ethernet HWaddr 00:00:00:1a:73:9f inet addr:10.0.0.21 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:576 Metric:1 RX packets:1387 errors:0 dropped:0 overruns:0 frame:0 TX packets:644 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:143713 (143.7 KB) TX bytes:67893 (67.8 KB) wmaster0 Link encap:UNSPEC HWaddr 00-00-00-1A-73-9F-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) scorps@scorps-laptop:/etc/network$ |
|
|
|
|
|
Aug 21 2008, 12:05 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
Have you check what is inside /etc/resolv.conf after restarting networking?
It should be ok with the static ip setup. Using static ip setup, run this as root: sudo echo "nameserver 202.188.0.133" > /etc/resolv.conf Then try ping google. This post has been edited by oshiri: Aug 21 2008, 12:11 PM |
|
|
Aug 21 2008, 12:11 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
QUOTE(oshiri @ Aug 21 2008, 01:05 PM) Have you check what is inside /etc/resolv.conf after restarting networking? wow.. i'm forgot,It should be ok with the static ip setup. Using static ip setup, run this as root: sudo echo "nameserver 202.188.0.133" > /etc/resolv.conf Then try ping google. so do u think what is the main problem here?? |
|
|
Aug 21 2008, 12:41 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
QUOTE(oshiri @ Aug 21 2008, 01:05 PM) Have you check what is inside /etc/resolv.conf after restarting networking? how to run that as root aa??how??It should be ok with the static ip setup. Using static ip setup, run this as root: sudo echo "nameserver 202.188.0.133" > /etc/resolv.conf Then try ping google. |
|
|
Aug 21 2008, 01:11 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
|
|
|
Aug 21 2008, 01:14 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
|
|
|
Aug 21 2008, 01:44 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
751 posts Joined: Nov 2004 |
That's wierd.
You should by now be able to ping outside. I'm out of idea. Have you test this in windows? check your modem----wireless router setup Is your modem is pure modem or router with builtin modem? Because router with builtin modem need to change to bridge mode first in order to use wireless router. I think you already know this. If your wireless router using linux, you could telnet into it and do some testing, ping for example. This is how I test in my router: CODE $ telnet 192.168.1.1 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is '^]'. BusyBox on (none) login: root Password: DSL Modem CLI Copyright (c) 2004 Texas Instruments, Inc. cli> shell Starting /bin/sh Type exit to return to the CLI BusyBox v0.61.pre (2005.03.18-16:07+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. # ping -c 4 google.com PING google.com (72.14.207.99): 56 data bytes 64 bytes from 72.14.207.99: icmp_seq=0 ttl=235 time=410.0 ms 64 bytes from 72.14.207.99: icmp_seq=1 ttl=237 time=400.0 ms 64 bytes from 72.14.207.99: icmp_seq=2 ttl=237 time=400.0 ms 64 bytes from 72.14.207.99: icmp_seq=3 ttl=235 time=400.0 ms --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 400.0/402.5/410.0 ms # exit cli> exit Connection closed by foreign host. |
|
|
Aug 21 2008, 02:44 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
9,572 posts Joined: Jun 2005 From: Terengganu Darul Iman |
good news,
my wifi connected (working good now) but it happen after i reconfigure my network setup set the adsl modem as brigde mode, and set the wifi router as pppoe mode, so that my fault, before this i just use modem as pppoe mode, and the wifi router as dhcp and laptop with winxp can connect wifi very good but thanks all and how about to do network sharing between winxp and ubuntu? using samba?? any link to me?? thanks oshiri.. |
| Change to: | 0.0178sec
0.66
6 queries
GZIP Disabled
Time is now: 10th December 2025 - 06:55 PM |