LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-10-2009, 04:15 PM   #1
jimlauman
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
networking in fedora 10 won't connect to dlink


For something that should be easy- this doesn't seem to be particularly user friendly.

What process do I need to go through to check why Fedora 10 networking won't work?

thanks
 
Old 06-11-2009, 09:41 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
What process do I need to go through to check why Fedora 10 networking won't work?
First thing you need to do is give us some idea of the type of hardware connection you have, and what you have done to determine what the problem is.

Please include the make and model of the hardware. You did mention 'dlink'. They make thousands of products.

Is this a dial up modem?

Do you have an ethernet card? Wired or wireless?

Do you have a router?

Linux does not add any more difficluty than windbloze to networking. Networking is networking.

Post back all you know and we'll go from there.
 
Old 06-12-2009, 02:11 AM   #3
jimlauman
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks so much for the reply

I have been trying to read up as much as possible on this ... but first to answer your questions- everything I have is about as generic/cheap as possible

amd k7 motherboard
Ibm 40 gig HD
256 meg ram
Dlink 624 router
Dlink G DWL 520 adapter (wireless card)
Dvd RW IDE 16x ( yeah I know you don't need to know this )
NVIDIA GEForce4 Mx 440 with AGP 8x ( this too- )

I did a fresh install of Fedora 10 ( I have three hard drives : 1 with win 2000 ; 1 with win xp home edition; 1 with fedora 10
I'm using InClose docking ports with each to keep them physically separated as each has a different function and I don't want one to affect the other.

I can swap back and forth to test or whatever....and am currently using win 2000 to write this.

I configured originally using the installation wizard and it connected for about 20 - 30 seconds ( with the mozilla supplied) then went off line and simply won't return.

What I have done:

tried to move the router closer(just in case though it is working fine under 2K): nope
tried to click work online in mozilla: nope and it keeps returning to work offline :-(
tried to click "run on startup" in a configuration file that I don't remember the exact name of ( I think under Network connections )and can't check because I'm not currently running it. Then rebooted: nope
opened up network configuration to view and nothing I see here would make any difference;

there is also someplace that asks if you want to activate certain devices here that I stumbled across and though I clicked activate on the 3com Corporation ????? Ethernet It wouldn't activate or report back active.

I did notice the icons in the lower right corner when networking was working was two blue dots with a circle circling and now I have two monitors with a red x in front of them.

I've been reading and it seems that the network manager may be causing the problem. I haven't done anything yet until I get some feedback on that.

Ultimately I am interested in setting up a server with a static IP.Tho I am currently on Comcast and am using DHCP. Switching to Qwest tomorrow June 12) because they offer a cheap static IP. I will still be using DHCP for the next few months though.
As far as I can tell everything is currently set with DHCP and auto configure or auto default.


Thanks for making the effort to help- I really do appreciate it.

Last edited by jimlauman; 06-12-2009 at 02:24 AM.
 
Old 06-12-2009, 12:57 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Ultimately I am interested in setting up a server with a static IP.Tho I am currently on Comcast and am using DHCP. Switching to Qwest tomorrow June 12) because they offer a cheap static IP
This will have nothing directly to do with your problem. Wireless cards will work with either static or dynamic IP addresses. You are correct in changing your network to static, if you want others to find your system on the net.

Could you run some commands, and cut and paste the results to this thread?

Run the command '/sbin/ifconfig' and post the results. This will list all interfaces defined in your system whether they are up or down.

Run the command '/sbin/iwconfig' and post the results. This will show the wireless configuration on your card.

Do you know how to connect to your router and display its configuration? We will need to know if you are using encryption, either WEP or WPA. If you are not, you should be.

For now I'm guessing there is a driver loaded, since you think it worked for a short period of time. We can find out, if you run the command 'lsmod' and look through the output, any driver loaded after install will be listed. It will take a little research to find out what driver should be loaded for that card. Most D-link cards will work with either the Antheros driver, or the windoze driver + ndiswrapper.

BTW, all commands are inputed at the command line without quotes....
 
Old 06-13-2009, 01:54 AM   #5
jimlauman
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Cliff,

I couldn't cut and paste- networking not up :-)

Managed to look and type though. Looks something like this:

[Jim@localhost~]$ /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:12 errors:0 dropped:0 overun:0 Frame:0
Tx packets:12 errors:0 dropped:0 overun:0 Carrier:0
collisions:0 Txqueuelen:0
Rx bytes: 800 (800.0 b) Tx bytes: 800 (800.0b)

[Jim@localhost~]$ /sbin/iwconfig

lo no wireless extensions

wmaster0 no wireless extensions

wlan0 IEEE 802.11 bg Essid: ""
Mode: managed Frequency 2.412 Ghz Access point: not associated
Tx-power = 0 dbm
Retry min limit:7 Rts thr: off Fragment thr= 2552 b
Power management: off
Link quality :0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 invalid misc:0 missed beacon :0

eth0 no wireless extensions

Pan0 no wireless extensions

I can almost see the router using DNS( 196.168.0.1) except it asks me for my id and password - should be admin and no password - except it denys access. Do I need hardwire connect for that? I'm 100% sure I'm not currently encrypted.

'ismod' (no quotes) doesn't work
Bash: ismod invalid command

can't thank you enough for even looking.

Jim

Last edited by jimlauman; 06-13-2009 at 03:18 AM.
 
Old 06-13-2009, 05:08 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
'ismod' (no quotes) doesn't work
Bash: ismod invalid command
The command is lsmod (L lower case) not i ( eye ).

It would appear your wireless adapter is not configured. No shock there.

Is this the name of your wireless adapter ?
Quote:
wmaster0
Quote:
I can almost see the router using DNS( 196.168.0.1) except it asks me for my id and password - should be admin and no password - except it denys access. Do I need hardwire connect for that? I'm 100% sure I'm not currently encrypted.
No, you do not need to be hardwired to it to connect. You do need to be on the same sub-net, meaning the adapter you connect from has to be 192.168.0.x where x is a value from 1 to 254. Can you connect from windows? It shuld not matter what operating system you use. Any web browser should work.

Just a guess, that the router is still using factory defaults.

You need to get connected to it, find out waht the SSID is, so you can add that to your wireless configuration.

I will spend some time today and look up the correct driver for linux for your card, and see if I can find the documentation for the router. You should have a copy that came with it. It is probably a .pdf file on a CD. Have a look to see if you can find it.
 
Old 06-13-2009, 05:38 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Your system, is it a desktop? And is the wireless card a PCI bus card? If yes, then we need to know what revision level of the card.

I found out a long time ago, D-Link and many other companies crank out various versions, and call them the same name, like DWL-520 G. On pcmcia cards, thay place a label on the bottom. It has a field marked 'H/W:xn' where the xn is a revision number. The bad news, each revision number can be a different chip set. That implies a different driver for linux. So, to get a native driver going, we need to know the revision number. Can you have a look at the card, and see if you can find any markings suggesting what rev level this card is? I don't know on PCI bus cards if there is a label or not. It may be printed somewhere on the card.

See this link as an example....

http://www.linuxcompatible.org/D-Lin...ter_c9853.html

Here is a link to help identify which rev level you have.

http://support.dlink.ca/products/rev...ductId=DWL-520

Also see this link.

http://support.dlink.ca/products/vie...tid=DWL-520%2B

Note, this rpoduct has a '+' at the end of the card type.

Now you can see some of the problems with the way these things are built, sold, and advertised.

On the router, are there any letters as part of the type and model of router? I know you said it was a model '624'

I need the letters to identify it on D-links web site.... Please have a good look and post if you can.

Last edited by camorri; 06-13-2009 at 05:50 AM.
 
Old 06-15-2009, 01:00 AM   #8
jimlauman
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Cliff-

Thanks again for the help. Don't know whats going on but I have been unable to post for the last day or so- everytime I tried I get a 404.

My system is a desktop. AMD 2400 that posts at 1800+ on a k7 motherboard.

The Router:

Dlink DI-624 (no leading or trailing letters)
Rev. H/W: B2 F/W 1.12
Disk Software ver. 1.00

The Wireless Card is a PCI card:

DWL-G520 Airplus Extreme G ( no other leading or trailing letters)
Rev. H/W: A1 F/W 2.23
Disk Software ver. 2.23

From Linux:

lsmod worked. It may be easier if you let me know what exactly we are looking for. There were a lot of entries, some I know were not related to networking – some I’m not so sure.

Is wmaster0 the name of my wireless adapter? I don’t know – how do I find out?

I went to Network Configuration
Devices tab-
Status........Dev.........Nickname......Type
Inactive......Eth0........Eth0..........Ethernet
Inactive......Wlan0.......Wlan0.........Wireless

This is where I tried to click the activate button and nothing would activate.

On the Hardware tab-

3com 3c501..................Ethernet.......Pan0.....system
Atheros communicati.........Wireless.......Wlan0....system
Silicon Integrated Sys......Ethernet.......Eth0.....system

From win 2k:

I discovered today that “196”.168.0.1 is not the same as “192”.168.0.1 and gained access to the router. :-)
It is set up with factory default values using DHCP.

The dlink wireless card monitoring software shows:

Bss/lbssid..................ssid...........wep...........ap......channel
00-22-B0-66-CA-D5.......dlink..........no............yes........1
00-22-3F-03-DE-B6.......Rosebery.......yes...........yes........1
00-80-C8-15-43-6D.......default........no............yes........6


Dlink is the neighbor on the left.
Rosebery is the neighbor on the right.
Default is mine.

Thanks again for the assistance-

Jim

Last edited by jimlauman; 06-15-2009 at 01:07 AM.
 
Old 06-15-2009, 10:12 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Than-you for the detailed update. I need to do a little research, and fine out if there is a native linux driver for that card, or if it is known to work with Ndiswarpper.

Glad you got connected to the router, that could have caused problems if you could not.

Quote:
Is wmaster0 the name of my wireless adapter? I don’t know – how do I find out?
If this is an Antheros chip set, ( don't know yet ) then the wireless is usually wlan0.

As for lsmod, I was looking to see if there was a wireless driver loaded. I wasn't sure what I was looking for, it could vary depending on the card you have. So a little research, and we'll know what to look for there.

Something you could try, this may or may not work, open a konsole, and as root use the command 'ifconfig wlan0 up' with out the quotes, and see what happens. If we are lucky, and the driver is loaded, wlan0 will activate, and show that way. If there is no driver, then it will fail. That is O.K. we're going to find out what driver to load.

I'll post back, hopefully later today on what I can find on the driver...
 
Old 06-15-2009, 12:35 PM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
See this link, it appears to be an Antheros chip set, so MadWiFi should work.

Here is what is known....

Quote:
DWL-G520 ¶
Chipset: AR5212 (b/g)
ChipsetWL-G520 v.B3 AR 2414A-00 (b/g)
ChipsetWL-G520+ v.A3 Texas Instruments
URL: http://www.dlink.com/products/?pid=12
URL: http://www.dlink.com.au/products/wireless/dwlg520/
URL: http://tsd.dlink.com.tw/ModelDocuVie...cuSno=BCLHCCED
Interface: Native PCI interface.
Antenna Connector: No connector, but ~0.1m of cable.
Antenna Connector: B3/4.11:External connector and aerial, no cable.
Antenna Connector: Dipole with detachable reverse SMA connector.
Device Information: PCI ID 168c:0013 (rev 01)
Notes: B2/3.1.6:Master mode tested and verified as working
Notes: B3/4.20: Working in master mode, bridged to eth0, with hostapd for WPA2 - No problems once setup. Works also with Debian Sarge (stable, 2.6.16 kernel) in hostap (master) mode. 11Mbps, 54Mbps, and 108Mbps all tested and working in Debian Sarge.
Notes: B4/4.30: Works under Ubuntu 6.06 with WPA. Shows up in lpsci output as "Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)". According to D-Link support the chipset of rev. B4 is AR2414
Notes: B4/4.31: Master mode tested and verified as working. Works with Debian Etch (stable) with 2.6.21.5 kernel. Shows up lspci output as "Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)".
Notes: B4/4.40: Master mode tested and verified as working. Works with Ubuntu 7.10 with 2.6.26 kernel. Shows up lspci output as "Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)". Card bought new 2008 Aug 14
Notes: B4/4.40: Working on debian 4.0 using madwifi drivers and hostapd.

Firmware Compatibility:
Hardware Firmware Status
A1 2.23 Works
The good news, you have a A1 with firmware 2.23.

Here is a link with all the documentation. -->http://madwifi-project.org/

Here is a HowTo for Fedora... -->http://madwifi-project.org/wiki/UserDocs/Distro/RedHat

Last edited by camorri; 06-15-2009 at 12:55 PM. Reason: Added a comment.
 
Old 06-16-2009, 10:38 AM   #11
jimlauman
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Cliff-

Before we get there, I may have another few issues to resolve.
should we find the appropriate driver - how do I load it into Fedora?

networking isn't working (primary problem).
IF I copied a file to a dvd/cd or floppy and inserted under linux would it read and take it?

is Konsole the same as terminal?

IFCONFIG wlan0 up gives a 'SIOCSIFFLAGS: permission denied' message.

man network
man antheros
man Konsole
man SIOCSIFFLAGS
all give me the same message- "not found"

I tried:

Service network restart

shutting down loopback interface: users cannot control this device: FAILED
Bringing up loopback interface: users cannot control this device: FAILED
Bringing up interface Eth0 : users cannot control this device: FAILED
RTNET Link answers: operation not permitted --- (displayed 9 times)
Touch: cannot touch /var/lock/subsys/network: permission denied

and thanks,

Jim
 
  


Reply

Tags
dlink, wireless



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
Networking through a DLink Access Point geoff-47 Linux - Networking 8 02-26-2007 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 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
Open Source Consulting | Domain Registration