LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhclient / cant use keyboard on internet (https://www.linuxquestions.org/questions/linux-networking-3/dhclient-cant-use-keyboard-on-internet-125081/)

toastermaker 12-11-2003 08:31 PM

dhclient / cant use keyboard on internet
 
I can use wireless card to surf internet but when I try to type, in any website no letters appear and mozilla freezes

I just got the wireless card to allow internet connection for 1st time today. This prob. has been there from the start.

I have had no problem with mozilla, using the onboard nic and cat5 cable through the same router and adsl modem. (the router supports both wired and wireless) when dhclient is not running

I hope this is known issue as I know not squat about configuring networking. I have Defaulted, Homer'd , Beat and Begged my way to get this far.

Any ideas whats causing this?

Mandrake 9.2
iblitzz wireless AP w 4 port router
iblitzz wireless card w/ ADM8211 chipset using "105_src" driver from ADMtek's website.

Thanks for any help!

<EDIT>
The driver for wireless card (I dont think) loads from /etc/modules.conf , I wasnt able to get the driver to load at boot so I made a symlink to the driver. The symlink is in /<path>/init.d

david_ross 12-12-2003 01:17 PM

I had a similar problem a few weeks ago. There seems to be problems with mozilla and over elaborate iptables rules. What rules do you ahve:
iptables -L

physcofish 12-12-2003 02:55 PM

I also get this problem with my iptables setup as:
Code:

:INPUT DROP [659:78097]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [9839:1381477]
:mychain - [0:0]
-A INPUT -j mychain
-A mychain -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT

If I take go:
Code:

bash-2.05b# iptables -P INPUT ACCEPT
The problem would go away.

Later I found out that if I add this:
Code:

bash-2.05b# iptables -A INPUT -p tcp -s 127.0.0.1 -j ACCEPT
My setup would work even with INPUT set to DROP all NEW connections.

toastermaker 12-12-2003 03:29 PM

Thank you,
Here is output from iptables -L, this is the 1st time I have seen a iptable but on a hunch this one looks kind of simple?

root@localhost teabear]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@localhost teabear]#

What do you think?

Thank you.

toastermaker 12-12-2003 07:39 PM

Not totally solved, but I am now using my keyboard over my wireless nic.

The only thing I've done to try to get it fixed is starting different things in differing order (eth0, eth1, dhclient)
I lost track of what combo worked, but it includes not having eth0 up at all. Thats why I cant claim success.

I have a 4 port router, but 5 puters, so I was going to use 2 of the puters hooked together with internet connection sharing (if thats possible with my configuration), and so I would need two nics going at same time on one of them.

So I am still looking for answer but to new variation of question.

New Question might be :
"when trying to have two nics "up" at same time I cant type into browser while at any website"

I will go search this new variation of problem.
If I don't get problem solved with searching should I bump this thread or start a new one because of the modification in problem?

Thank you for your help and replies.

toastermaker 12-15-2003 05:25 PM

I have not been able to get my two nics going at the same time without "freezing" web browser when I try to type.
I searched for "two nics" and got a lot of hits. One of them looked like something I might be able to handle so I tried configuring both nics manually after removing ifcfg-ethx and commenting out eth drivers in modules.conf. I wasnt able to configure properly and wound up re-deleting the new ifcfgs and getting mandrake control center (gui) to get configuration back to where I started.

Any recomendations? I need/want to use one nic for Internet connection sharing and the other nic to the router and modem.
The wireless card driver wasnt included with mandrake 9.2 . I got it off the internet.

If it would make "The" difference I can go get A nic that has the driver already included with mandy 9.2?

Thanks for any help.

Edit:
just saw this:
http://www.linuxquestions.org/questi...hreadid=125598
does it look like it will apply to my situation?

<edit>
It turns out that while my internet connection "fired up" when I ran dhclient, and I could surf the web as long as I didnt try to type into my browser, solving this particular problem only required me to add "eth0" to dhclient instead of just using dhclient.
Appearently dhclient trying to run my local loopback and eth0 at the same start/time caused my problem.

DaneM 06-04-2004 01:15 AM

Sweet!
 
Thanks, toastermaker, for your last post! I had exacly the same problem and setup and using "dcclient eth0" as opposed to simply "dcclient" fixed it for me. My internet is working a lot faster too now that it's not trying to compete with my manual ip settings (I think).

Have a good one.

--Dane


All times are GMT -5. The time now is 10:39 AM.