LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-02-2007, 10:35 PM   #1
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Rep: Reputation: 15
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
 
Old 11-03-2007, 01:25 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 11-03-2007, 02:15 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Internet Apps not working
Quote:
internet apps that are working are kde native apps
So... which is it?
 
Old 11-03-2007, 11:31 AM   #4
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
So... which is it?
only kde apps are connexting like konqueor
 
Old 11-03-2007, 11:41 AM   #5
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
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
 
Old 11-03-2007, 02:52 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 11-03-2007, 03:14 PM   #7
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
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
 
Old 11-04-2007, 01:35 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 11-04-2007, 03:46 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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?
 
Old 11-04-2007, 05:08 PM   #10
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 11-04-2007, 08:19 PM   #11
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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:2DD: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
 
Old 11-05-2007, 06:04 PM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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?
 
Old 11-05-2007, 09:07 PM   #13
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 11-06-2007, 01:14 AM   #14
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 11-06-2007, 02:24 AM   #15
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
  


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
gnome apps --help not working pk108 Linux - General 1 01-15-2006 02:45 PM
KDDE Apps don't recognise internet DoddyUK Linux - Networking 4 12-07-2005 05:41 PM
Getting openGL apps working. gauntalus Linux - Software 7 01-14-2005 05:54 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 08:38 PM
apps cannot access internet Mr_C Fedora 17 06-19-2004 07:13 PM


All times are GMT -5. The time now is 04:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration