Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-02-2007, 10:35 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Rep:
|
Internet Apps not working
Hey guys, i have another problem.
No internet apps like firefox, pidgin, opera, ect arnt working.
the only internet apps that are working are kde native apps, like konqueror, and kopete
anybody know what do do, im connecting wirelessly to my network
|
|
|
11-03-2007, 01:25 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
There are three things that you need to connect to the Internet.
1) A driver (kernel module) to control the hardware. Which one depends on your hardware. You may also need to download a windows driver if you use ndiswrapper or bcm43xx and follow the installation instructions.
2) For wireless, you need to configure authentication. Most commonly you would use wpa-psk. This needs to be done before you can contact your router's DHCP service.
3) You need the interface to have an IP address, and you need the gateway address and the nameserver addresses configured. These will be done for you automatically if you use DHCP.
|
|
|
11-03-2007, 02:15 AM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Quote:
Internet Apps not working
|
Quote:
internet apps that are working are kde native apps
|
So... which is it?
|
|
|
11-03-2007, 11:31 AM
|
#4
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by Simon Bridge
So... which is it?
|
only kde apps are connexting like konqueor
|
|
|
11-03-2007, 11:41 AM
|
#5
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
There are three things that you need to connect to the Internet.
1) A driver (kernel module) to control the hardware. Which one depends on your hardware. You may also need to download a windows driver if you use ndiswrapper or bcm43xx and follow the installation instructions.
2) For wireless, you need to configure authentication. Most commonly you would use wpa-psk. This needs to be done before you can contact your router's DHCP service.
3) You need the interface to have an IP address, and you need the gateway address and the nameserver addresses configured. These will be done for you automatically if you use DHCP.
|
i have everything working on my driver because i used ndiswrapper
|
|
|
11-03-2007, 02:52 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
What does /sbin/ifconfig and /usr/sbin/iwconfig show?
Just because you have ndiswrapper installed doesn't necessarily mean that the driver is working. For example, did you wrap the windows driver?
If "sudo /usr/sbin/iwlist scan wlan0" shows your AP, then the drivers are working.
Last edited by jschiwal; 11-03-2007 at 02:54 PM.
|
|
|
11-03-2007, 03:14 PM
|
#7
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
What does /sbin/ifconfig and /usr/sbin/iwconfig show?
Just because you have ndiswrapper installed doesn't necessarily mean that the driver is working. For example, did you wrap the windows driver?
If "sudo /usr/sbin/iwlist scan wlan0" shows your AP, then the drivers are working.
|
the drivers are working because i had this probelm two times before. I cold connect to internet useing firefox and everything else, but then it seemed after i reseted my router somethng strange happend and i couldnt use firefox and oter apps except konqueor.however this would last for a day or two. Its been almst a week, soo.... i dont know what to do
|
|
|
11-04-2007, 01:35 AM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You are relying on that you think the drivers are working (because they were before). Simply entering "sudo /usr/sbin/iwlist wlan0" (or whatever name your interface has) will verify that they are working. I've often found out that my assumptions are wrong. You need to verify what is working and eliminate the possibilities until you find the solution. For example, if you upgraded your kernel during a security update, the ndiswrapper.ko kernel module may need updating as well. ( Looking at the output of "dmesg" will probably tell you if the module loaded successfully. )
If you could post the results of:
cat /etc/resolv.conf
/sbin/ifconfig
sudo /usr/sbin/iwlist scan <interface>
sudo /usr/sbin/iwconfig
After verifying that the drivers are working, check with "/sbin/ifconfig" and see if the interface has an IP address assigned.
For wireless interfaces, you need to associate with the AP before you get an IP address. If you are using WPA-PSK encryption, you can use the "wpa_cli" program to verify that the interface is associated with the wireless network.
Here is an example on my desktop:
Code:
wpa_cli -p /var/run/wpa_supplicant -i eth1
wpa_cli v0.5.8
Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> and contributors
This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
Interactive mode
> status
bssid=00:14:bf:13:0d:9d
ssid=xihprom
id=0
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.1.101
The -p argument is the working directory that wpa_supplicant uses. The -i argument is the interface name.
If your interface obtained an IP address via DHCP, then check the output of /etc/resolv.conf. "cat /etc/resolv.conf". You should see two or three of your ISP's nameserver addresses listed. If you don't, then check the configuration of your client. Another possibility is that the firewall is closed for the dhcpcd port (546). If you use Fedora Core, you need to check the selinux settings. It may be preventing the updating of the /etc/resolv.conf file.
By the way, please put your distro in your profile so that others can see which distro you are asking about. Some distro's use scripts in /etc/init.d/ that explicitly call iwconfig, etal. to configure the network. Others use the values in config files in /etc/sysconfig/, which are read when the network services start. Often a particular distro has a GUI network configuration tool that may be useful.
|
|
|
11-04-2007, 03:46 AM
|
#9
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Quote:
i couldnt use firefox and oter apps except konqueor
|
You can browse the web with konqueror but not firefox, did I understand this correctly? Can you ping remote sites like google?
|
|
|
11-04-2007, 05:08 PM
|
#10
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
you are correct but its just not firefox, opera, and other apps such as pidin. and i can ping sites.
jschiwal, i will do this as soon as i am at my linux pc, but i am away from it at the moment, so im not ignoring you
Last edited by G-Unot; 11-04-2007 at 05:54 PM.
|
|
|
11-04-2007, 08:19 PM
|
#11
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 205.171.3.65
/sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan0 Link encap:Ethernet HWaddr 00:18:F8:2D D:96
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:f8ff:fe2d:dd96/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129480 errors:0 dropped:0 overruns:0 frame:0
TX packets:108279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:162205390 (154.6 MiB) TX bytes:7345086 (7.0 MiB)
Interrupt:18 Memory:dfff0000-dfff8000
root@GUC:/home/g-unot# sudo /usr/sbin/iwconfig
sudo: /usr/sbin/iwconfig: command not found
|
|
|
11-05-2007, 06:04 PM
|
#12
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Quote:
you are correct but its just not firefox, opera, and other apps such as pidin. and i can ping sites.
|
This would suggest that the internet connection is actually working.
Have you tried apps that do not use http? Like ftp, or ssh?
jschiwal: you seem to be working on the assumption that the wirelessis not working properly. I'm puzzled, how would that selectively allow konqueror http access and nothing else?
|
|
|
11-05-2007, 09:07 PM
|
#13
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
simon yes, i have used xchat, however instead of typing the server like irc.server.org, you must now type the ip of the server. Once again, when my internet apps were working, i didnt have to do this
|
|
|
11-06-2007, 01:14 AM
|
#14
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Are you running your own dns server (at 192.168.0.1)? Some people use their NAT router as a nameserver, but I've never had luck when I've tried it. Whether it works may depend on the router you use, and I don't think it will with a Linksys router. Try deleting that line from /etc/resolv.conf.
Also post the contents of /etc/nsswitch.conf. It is the line that starts with "hosts:" that I am interested in. It should have "dns" in it. Also check with "locate libnss_dns". You should have a /lib/libnss_dns.so library. It is supplied by glibc, so you must have it unless something happened and it got deleted. If you are running on a 64 bit distro, you may have this library in /lib,/lib64,/usr/lib/ and /usr/lib64/. If the library were to be deleted or damaged, this may cause odd problems. Also if the /etc/nsswitch.conf file were accidently deleted or an entry mucked up, that could be the problem.
Does your ISP have a second nameserver address? If not consider googling for "opendns" and add an opendns server closest to you.
If you have IPV6 enabled, that can potentially cause a delay, but I don't think name resolution would fail. Disabling it can speed up things like ssh logins. For now consider this a side-note.
Last edited by jschiwal; 11-06-2007 at 01:30 AM.
|
|
|
11-06-2007, 02:24 AM
|
#15
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Yep... it looks an awful lot as if something is selectively blocking services by application... this is firewall/router behavior or, maybe, a proxy. Check the firewall on your machine and your router settings. (Probably easier to reset your router to defaults and rebuild the settings you need.)
Give jschiwal the info he wonts too... he's on a parallel track now.
|
|
|
All times are GMT -5. The time now is 10:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|