LinuxQuestions.org
Visit Jeremy's Blog.
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 06-14-2007, 04:57 AM   #1
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Rep: Reputation: 15
internet fails to connect


hi,

I just installed fedora after burning the iso at 2X instaed of 4X which failed.
It seems to work OK but I have some problems.

q) My internet is not connected
I have wireless connection to my smcwbr14-g router.I have internet broadband cable connection which is conncted to the router on the only other PC. I found where you add a wireless network and select hardware from a list. My router is not listed and the other smc routers listed fail.
Linux cant recognize my router?

I have (dual boot)and i get no internet connection.
The internet works fine on winxp on other OS.

Last edited by jagguy; 06-14-2007 at 06:11 AM.
 
Old 06-14-2007, 12:10 PM   #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,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Linux cant recognize my router?
Linux will talk to your router just fine, once you load a driver for your wireless card, and get it configured.

There is nothing to configure that is special on your router for linux.

What card do you have? If it is an internal wireless adapter, then open a konsole and run the command 'lspci -vv' ( without the quotes ) and cut and paste the results here. Then we'll know what you have. If it is a PCMCIA card or USB card, post what make and model of card you have.

There are two basic approaches. One is to load a native linux driver, if one exists for your card. The second is to load Ndiswrapper and use the windoze driver.

Hope this helps.
 
Old 06-15-2007, 05:55 AM   #3
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Hi,
Is this what you want?
Ralink RT2561/RT61 802.11g PCI

I ran the command /sbin/lspci and again with switch.
Now the problem is I cant' communciate with ntfs/fat32 filesystems so i couldnt copy and past the output to these partitions because they don't show up, or i can't find them. I did a search for files on fat32 and linux found nothing.

How can i communcate with these drives on fedora because Ubuntu simply displays all drives on a PC.
How do i transfer my .txt files in linux to winxp?
 
Old 06-15-2007, 09:12 AM   #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,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Is this what you want?
Ralink RT2561/RT61 802.11g PCI
Yes, now it will take a little research to find out what drivers will work with this card under linux.

Quote:
I ran the command /sbin/lspci and again with switch.
If you ran that from a konsole, ( a BASH shell ) the output is sent to the screen. Cut and paste it from there. You can send the output to a file, if you do something like this.

'/sbin/lspci > /home/username/output-file.txt'

That will create a file in your home directory called output-file.txt. You could open that with any editor on your system.

Quote:
Now the problem is I cant' communciate with ntfs/fat32 filesystems
This is really two separate problems. Communicating with a fat32 file system is easy enough. NTFS is a much longer story.

To access your fat32 partitions, you need to do three things.

1. Create a mount point in your file system.

2. Edit /etc/fstab and add an entry for each new partition.

3. Run the mount command.

The mount point is just a directory where you want to add the file system. Most distros will have a /mnt directory. This is where I suggest you add a directroy ( folder ) as the mount point. Open a konsole, and do a 'su' and enter the root password when prompted.
Now do a 'cd /mnt' This will put you in the /mnt directory. At this point do a 'mkdir win-d'. This will create a folder called win-d. You can call it anything you like. I like th e names to make sense, so I know where I am; win for windoze and d for the d drive. So now we have a structure /mnt/win-d. This will be the mount point.

You need to edit /etc/fstab as root. Do a 'cd /etc' That will put you in the /etc directory. Now open you favorite editor from the command line. Backup the fstab BEFORE you muck with it. If you screw it up, you just copy back the backup to return to normal. To back it up do a 'cp /etc/fstab /etc/fstab.bak' No news is good news, it worked if you don't get an error message. Do a 'ls -l fstab.*' to see the new file.

I use kate, so to open the file type 'kate fstab' Substitute the name of your editor, if you don't have kate. You will get a "command not found" response from the system if you do not have kate.

You will have a few lines of stuff in this file. Here is what a line will look like for a fat32 partition.

Code:
/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
OK.. so what is this stuff? First part, /dev/hda1 is the partition, as linux knows it. In windoze speak, this is "C drive". hda is the first installed hard drive. The 1 is the first partition. The second hard drive would be 'hdb'. The numbering part is dependent on the partitioning.

Next part, '/mnt/win_c' This is the mount point. I created this the way you are going to in step 1. In your case, you will need to make any changes to match your system.

'vfat' tells linux the type of file system. Fat can be fat12, ( on floppy drives ) fat16 or fat32. Linux can read and write any of them.

The rest of the stuff are options. Watch the syntax. The first three fields are separated by spaces. The option string is separated by ',' ( commas ). Make sure the ' 0 0' is at the end.

To test it, as root in the konsole, run the command 'mount /dev/hda1' If you get no error messages it worked! Then do a 'cd /mnt/win_c' and then do a 'ls -l' to see your directories and files in the root of your 'C drive'.

You can try and mount your NTFS partition as well. Same process as above, except the file system type is ntfs. This will be READ ONLY. To make it writeable, there is an experimental driver for NTFS. I would not recommend you try it until you gain some linux experience.

I will look into the network card, and see if there is a driver, and how to best approach getting it working.
 
Old 06-15-2007, 12:05 PM   #5
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,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I found this on Ralinks web site. Looks like you can get a native linux driver.

http://www.ralinktech.com/ralink/Hom...ort/Linux.html

I also found that this card works with Ndiswrapper. So you have the best of both worlds.

I would go with the native linux driver first.
 
Old 06-15-2007, 08:05 PM   #6
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
thanks for the information and i will look at it. You have been a great help!
 
Old 06-15-2007, 08:30 PM   #7
rhussey
Member
 
Registered: Jun 2007
Distribution: Ubuntu Gutsy, Debian Lenny/Sid
Posts: 31

Rep: Reputation: 15
I've been using a ralink chipset for awhile now, and I have nothing but good things to say about
http://rt2x00.serialmonkey.com

The rt2x00 project is currently in the wireless-dev branch of the linux kernel and is making its way into the vanilla kernel. Definitely give this a try before ndiswrapper or anything else. I suggest trying the legacy driver(from the download page of the rt2x00 site) for your card first since the rt2x00 driver seems to have problems with irqs and power usage currently.
 
Old 06-16-2007, 12:53 AM   #8
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
I ran fdisk -lu and got my fat32 drive as /dev/sdb4 and not hda* since i have a slave drive .

I login as root and type from my user file
mkdir /mnt
mount -t vfat /dev/sdb4 /mnt

it says the /mnt dir is busy or already mounted but when I cd to it and type ls or ls -l I get nothing.

What is going wrong and why cant i see anything on this drive and there is stuff on it.
 
Old 06-16-2007, 01:56 AM   #9
rhussey
Member
 
Registered: Jun 2007
Distribution: Ubuntu Gutsy, Debian Lenny/Sid
Posts: 31

Rep: Reputation: 15
Quote:
Originally Posted by jagguy
I ran fdisk -lu and got my fat32 drive as /dev/sdb4 and not hda* since i have a slave drive .
The difference between hda and sda devices is not master/slave, but the drivers being used (ATA,SATA,SCSI). Not a big deal, as long as you're sure that /dev/sdb4 is the correct partition to mount.

Quote:
Originally Posted by jagguy
I login as root and type from my user file
mkdir /mnt
mount -t vfat /dev/sdb4 /mnt

it says the /mnt dir is busy or already mounted but when I cd to it and type ls or ls -l I get nothing.

What is going wrong and why cant i see anything on this drive and there is stuff on it.
Since /mnt is empty, I think this is due to the partition already being mounted. Not completely sure though. You could try to make a directory somewhere else, such as /home/mnt and mount it there to see if that works. If not, check /etc/mtab for an entry corresponding to /dev/sdb4.
 
Old 06-16-2007, 02:59 AM   #10
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
i created the dir in /home and forgot to include that in the path.
It works but I have a wireless driver (Rt61...) i untarred. How do i configure this as there a lot of files and a makefile.

Last edited by jagguy; 06-16-2007 at 03:34 AM.
 
Old 06-16-2007, 03:49 AM   #11
rhussey
Member
 
Registered: Jun 2007
Distribution: Ubuntu Gutsy, Debian Lenny/Sid
Posts: 31

Rep: Reputation: 15
If you downloaded the legacy rt61 driver from the rt2x00 project site I posted (which I really recommend), then you should be able to just cd into the untarred directory and then cd into the Module directory. Then type 'make.' When that's finished type as root or with sudo 'make install.' Hopefully it goes smoothly and you can modprobe the driver and set it all up.

There's also a README file in the Module directory that might help.

If you have the drivers from the other site posted, it looks like you'll cd into the Module directory. Type './Configure' and then 'make' followed by 'make install.' I took a look at the source for these drivers and you might run into problems compiling them if you run a very recent kernel version.
 
Old 06-16-2007, 05:04 AM   #12
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
I dowloaded the 1st file given and had problems as it asks for kernel type and i dont know.

I will do the other you said now.

How do you modprobe and what do i type exactly?
 
Old 06-16-2007, 06:02 AM   #13
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Ok after running the modrpobe line and scan as in readme it just worked and i can get on the net.

q)firewall,AV what is going on with this and do i need to download?

q) the screen display is 800X600 and the fonts are fuzzy compared to winxp, It is poor quality screen clarity comapred to winxp. I have a radeon card as well. CAn I do anything about this?
 
Old 06-16-2007, 02:28 PM   #14
rhussey
Member
 
Registered: Jun 2007
Distribution: Ubuntu Gutsy, Debian Lenny/Sid
Posts: 31

Rep: Reputation: 15
There's very little need for antivirus software in linux, since linux is very rarely targeted by viruses. I'm pretty sure Fedora comes with a firewall built in. Try looking for something about Firewall and Security in a submenu of Desktop.

For your screen resolution, if you're using Gnome, go to Desktop->Preferences->Screen Resolution (that's where it is for me, look for it if not there). You can set the resolution here, but only what you're currently capable of. If you're monitor is capable of more...

The configuration file at /etc/X11/xorg.conf controls various aspects of the gui (xorg). Try looking for a section that starts with:
Code:
Section "Device"
and make sure that the Driver line looks like this:
Code:
Driver          "radeon"
And then you have to make sure you're monitor is correctly set. The section for my monitor looks like this:
Code:
Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       30-70
        VertRefresh     50-160
EndSection
And finally, you should see a part that looks like this:
Code:
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
Make sure the Modes line has the resolutions you want to use. If you have more than one Modes line, do this for all of them.
 
Old 06-16-2007, 07:28 PM   #15
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
My xorg file has no monitor section.
So how can i add this in safely ?
The screen size is fine it is the clarity of the screen isnt as sharp as the other OS winxp on the same PC and same hardware.

So the crt monitor is capable of better under winxp.



# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600"
EndSubSection
EndSection
 
  


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
Trying to connect to Internet via GPRS always fails, why? onorua Linux - Networking 1 01-10-2007 08:35 PM
rc.inet1 fails to connect on startup trumpet_tom Linux - Wireless Networking 6 11-06-2005 06:52 AM
Penggy fails to connect to Compuserve bobwall Linux - Networking 1 11-04-2004 11:53 AM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
modem fails to re-connect (sometimes) - weird gregkise Linux - Hardware 0 11-24-2003 05:54 PM

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

All times are GMT -5. The time now is 06:34 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