LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-22-2004, 07:29 PM   #1
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Rep: Reputation: 15
DrakConnect problems


Hey,

Ok, I'm trying to set up my internet connection using DrakConnect. Right now its using the loopback interface (127.0.0.1) as a DNS server. The problem is every time I try to download something it freezes. Even if I open a text editor and try to save a file, it too freezes. Basically anytime I click Save or Save As, I have to kill the process.. I don't know if thats because of the wrong DNS server or not (I dont see how it could be). Also what would I type as my hostname and zeroconf hostname?

I am connected to the net -- I just run dhclient everytime I boot to assign myself an IP.

But does anyone one know why everything hangs when I save? Is it because of the wrong parameters in DrakConnect? Thanks.

<edit>
When I disable driverloader I can save files (from editors, etc.) but I obviously cannot access the internet.
</edit>

Last edited by root3d; 02-22-2004 at 07:40 PM.
 
Old 02-23-2004, 05:13 PM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
The hangs are due to DNS. You need to set the DNS server correctly.

You should be able to set the hostname and zeroconf hostname to your hostname I believe.

Also be sure that your gateway address is set correctly also.
 
Old 02-24-2004, 08:31 PM   #3
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
DrakConnect isn't working very good. I set everything right and then driverloader goes down lol. What are the .conf files to edit for my DNS servers and host name (I have 2 DNS servers and DrakConnect only allows me to add one).

Yes, I'm a noob lol..
 
Old 02-24-2004, 09:15 PM   #4
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
It sounds like you can get the driver up and running since you can
get IP address from running dhclient.

DNS settings in /etc/resolv.conf

sample of setting 2 DNS servers in /etc/resolv.conf

nameserver <IP address1>
nameserver <IP address2>

hostname should be at /etc/HOSTNAME
this will be just a single name with no periods.

/etc/sysconfig/network-scripts/ifcfg-<intf name>
should have the settings for the interface, if this does not exist
then can create by hand or through configuration program.

feel free to post your ifcfg-<intf name> and we should be able to
suggest changes to get system to boot as dhclient automatically.

lsmod -a
will list all kernel modules that are loaded

modprobe -v <module_name>
to load a driver module by hand

ifconfig
will show the TCP/IP settings for your configured interfaces

iwconfig
will show wireless settings for your configured wireless interfaces

netstat -rn
shows the routing table
 
Old 02-25-2004, 01:54 PM   #5
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
Ok, thanks a lot, were on the right track lol. Heres my ifcfg-eth1 file
Code:
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
NEEDHOSTNAME=yes
The configurations in conf are /etc/resolv.correct but one of the nameservers is the loopback address, is that ok? The search address and two IP's were there (and correct). I don't have an /etc/hostname file but I do have /etc/hosts. That contained
Code:
127.0.0.1               localhost
and my host.conf file:
Code:
order hosts,bind
multi on
Thanks for your help so far, it is much appreciated.
 
Old 02-25-2004, 02:12 PM   #6
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
127.0.0.1 is not ok for nameserver entry in /etc/resolv.conf
 
Old 02-25-2004, 02:27 PM   #7
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
ok I took 127.0.0.1 out of resolv.conf, what should I do with the etc/host/ file?
 
Old 02-25-2004, 02:55 PM   #8
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
/etc/hosts file is ok.
 
Old 02-25-2004, 03:15 PM   #9
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
my downloads still hang. what do you think the problem is now?

also, what should i set as my dhcp client in DrakConnect?
 
Old 02-25-2004, 04:13 PM   #10
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
dhcp settings in ifcfg-eth1 look correct.

can you post output from ifconfig, iwconfig and netstat -rn ?
 
Old 02-25-2004, 04:37 PM   #11
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:92:05:21
          UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:57456 (56.1 Kb)
          Interrupt:23 Base address:0xe800

eth1      Link encap:Ethernet  HWaddr 00:0C:41:48:D2:6E
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20629 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:21073873 (20.0 Mb)  TX bytes:2295735 (2.1 Mb)

lo        Link encap:Local Loopback
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:225 errors:0 dropped:0 overruns:0 frame:0
          TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:60696 (59.2 Kb)  TX bytes:60696 (59.2 Kb)
iwconfig
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:"glob.glob"  Nickname:"unknown"
          Mode:Managed  Frequency:2.422GHz  Access Point: 00:0C:41:49:64:C9
          Bit Rate=11Mb/s   Tx-Power=17 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:1/1  Signal level:-55 dBm  Noise level:-200 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
netstat -rn
Code:
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth1

Last edited by root3d; 02-25-2004 at 04:38 PM.
 
Old 02-25-2004, 04:51 PM   #12
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
looks like the card is active and received ip address ok, routing table appears to be ok.

Can you ping the router?

Can you ping the first IP address of the first DNS IP address in your /etc/resolv.conf?

make sure that you just have 1 or 2 nameserver lines in
/etc/resolv.conf and no other lines.

Make sure that you have the CHANNEL set correctly in iwconfig

Maybe try using ESSID without a . in it.
 
Old 02-25-2004, 06:03 PM   #13
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Original Poster
Rep: Reputation: 15
I can ping the router, both DNS servers, I changed the essid to slack and the CHANNEL variable is set correctly. I can use the Internet, I just can't download anything.

Strange..
 
  


Reply



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
Problems Configuring DrakConnect with External Modem CaffeinateSoup Mandriva 2 06-20-2005 06:19 PM
DRAKCONNECT question mike8994 Linux - Networking 0 12-16-2004 05:35 AM
drakconnect and wireless Hatoupix Linux - Wireless Networking 5 12-04-2004 02:33 PM
Problems using Drakconnect brokenflea Mandriva 2 03-12-2004 01:39 PM
Config. Drakconnect DavidTempler Mandriva 2 11-11-2003 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:03 PM.

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
Open Source Consulting | Domain Registration