Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Too far away from the router... is WiFi a good solution?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Thu Aug 19, 2004 2:46 am    Post subject: Too far away from the router... is WiFi a good solution? Reply with quote

Our router (shared by the whole family) is on the opposite side of our large appartment from my bedroom where my computer is.

I dual boot, and for Windows the USB to phone line jack converter that came with the router (for SBC dsl, brand name is 2wire) works ok, but not at all with Gentoo (nor any Linux distro).

So what would you recommend?
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Thu Aug 19, 2004 3:23 am    Post subject: Reply with quote

WiFi would be a great solution. I personally have not tried to set up a wireless card but I know many people who have them set up on their gentoo boxes.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Thu Aug 19, 2004 4:07 am    Post subject: Reply with quote

Ok, can anybody recommend a good linux-friendly wireless networking card?
Back to top
View user's profile Send private message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Thu Aug 19, 2004 4:33 am    Post subject: Reply with quote

StringCheesian wrote:
Ok, can anybody recommend a good linux-friendly wireless networking card?


I have a pci dlink card (unknown model) and also a pcmcia dlink wpc11that both work with orinoco modules and wlan-ng modules - both were automatically detected during gentoo installations. I'll try to find the exact model of the pci card that I'm using....I can assure you they were whatever was cheap at the time I bought them, but that was over a year ago and I have heard some of the dlink stuff isn't linux compatible anymore.

An easier way to find several compatible cards for both usb, pci, etc would be to visit the orinoco and wlan-ng web sites to see what are compatible under linux
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Thu Aug 19, 2004 2:45 pm    Post subject: Reply with quote

I have heard that there are external antennae that connect to a standard NIC via a standard RJ45 ethernet cable - making the PC unaware that it's on wifi. A good solution for high compatibility.
Beyond that - the long distance could mean signal strength issues. I'd try and run a cable first.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
psylo
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 129
Location: Belgium

PostPosted: Thu Aug 19, 2004 2:54 pm    Post subject: Re: Too far away from the router... is WiFi a good solution? Reply with quote

StringCheesian wrote:
Our router (shared by the whole family) is on the opposite side of our large appartment from my bedroom where my computer is.

I dual boot, and for Windows the USB to phone line jack converter that came with the router (for SBC dsl, brand name is 2wire) works ok, but not at all with Gentoo (nor any Linux distro).

So what would you recommend?


The problem with WiFi inside a home is not the distance but the number of wall between the access point and the PC and what is the composition of the wall (concrete blocks, wood panel, ...). Of course distance is important but outside not inside.
_________________
The next time you're having a bad day, imagine this:
You're Siamese Twin.
Your brother, attached at your shoulder, is gay.
You're not.
He has a date coming over tonight.
You only have one ass.
[Inconnu]
Back to top
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Thu Aug 19, 2004 3:09 pm    Post subject: Reply with quote

StringCheesian wrote:
Ok, can anybody recommend a good linux-friendly wireless networking card?


get a linksys WET11. it is an ethernet bridge. just plug it in to your ethernet nic enter the settings for your ap into the web based configuration page and your good to go. i have a version 1 and it has worked well for me for over a year with a netgear 802.11b router

http://www.linksys.com/products/product.asp?prid=602&scid=36
Back to top
View user's profile Send private message
tal82k
n00b
n00b


Joined: 14 Aug 2004
Posts: 70

PostPosted: Thu Aug 19, 2004 6:16 pm    Post subject: Reply with quote

StringCheesian, I read online that the 2Wire PC port (I am assuming is HPNA) could be used on linux using the orinoco drivers. There was also another module (I don't remember which but i could find out) that was meant to work on mandrake and I am sure through a little tweaking could work on gentoo. I hope this was helpful.
Back to top
View user's profile Send private message
Paladine01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 131
Location: Phoenix AZ

PostPosted: Thu Aug 19, 2004 9:55 pm    Post subject: Reply with quote

Are you telling me that you are over 100 meters away from the router? Your apartment has more floor room than a football field!?!?!?

I'd get a 100 meter wire if I were you.
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Fri Aug 20, 2004 4:34 am    Post subject: Reply with quote

Paladine01/tactless: My mom doesn't want me to run an unsightly cable through the living room.

tal82k: I read that too, but it's talking about the PCI card. All I've got is the ethernet/usb adapter version of it that plugs in the computer's USB port and the a phone jack. Hmmm... maybe I could install a PCI card for HPNA.

Mben: Cool! And then I could still try out experimental OSs that don't have wireless support yet, like SkyOS, MenuetOS, etc.

psylo: 2 Walls: the one separating my room from the living room, and the one between the living room and master bedroom. I don't know what's in them, but they are interior walls.


Last edited by StringCheesian on Fri Aug 20, 2004 4:39 am; edited 1 time in total
Back to top
View user's profile Send private message
MHD
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 88

PostPosted: Fri Aug 20, 2004 4:37 am    Post subject: Reply with quote

My netgear wg511 works a dream! (oh and the linksys wrt54g router is a nice bit of gear to)

The wg511 uses the prism 54 chipset which there is plenty of info on... (search then forum)
_________________
Pot of Grass Productions
http://www.potofgrass.com
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Sep 08, 2004 7:06 am    Post subject: Reply with quote

I got a wireless game adapter (Linksys WGA11B) and it's working great! Thank you, Mben, and everyone else!
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Wed Sep 08, 2004 10:05 am    Post subject: Reply with quote

StringCheesian wrote:
Paladine01/tactless: My mom doesn't want me to run an unsightly cable through the living room.

It doesn't have to be unsightly... well, actually, it just doesn't have to be in sight. Get a long cable, and run it along the corners of the room. Better yet, you can get an electrician to run the wire through the walls, and have it end up in a nice ethernet socket. My friend did this... so cool - you got yer power socket, phone socket, cable socket, and ethernet socket! :)
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
sushyad
n00b
n00b


Joined: 29 Jul 2003
Posts: 22

PostPosted: Wed Sep 08, 2004 11:20 pm    Post subject: Reply with quote

I have a wireless card and a USB adapter working with my Gentoo boxes pretty nicely:

1. Netgear pcmcia card connected through a Belkin pci-to-pcmcia adapter.
2. DLink USB wireless adapter. Gentoo worked out-of-the-box with this one.

I don't recall the exact model of the items, but I can check when I get home.

As far as the signal strength is concerned, I had the access point behind two 8 inch concrete walls about 10 meters from the wireless mythtv box, and still /proc/net/wireless posted signal strength around 50.
Back to top
View user's profile Send private message
nightcanton
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 249

PostPosted: Thu Sep 09, 2004 2:59 am    Post subject: Reply with quote

I would would like to know which USB adapter that was. I've gotten a Linksys WMP54G and a Netgear WG311 pci cards working with wireless. But they took a few tweaks. But the USB adapter out of the box...if it was G it would be a better solution.
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Thu Sep 09, 2004 8:49 am    Post subject: Reply with quote

nightcanton wrote:
I would would like to know which USB adapter that was.

It's called a 2Wire PC Port, and it's not wireless. One end plugs into your USB, the other into the phone jack, and it uses the phone line to network with the router (aka HPNA or HomePNA). I had never heard of such a thing until I saw it. It's pretty cool, and the PCI card version of it supposedly works with linux, but not this stupid USB adapter.

But that's ok. The wireless game adapter I bought is working fine.
Back to top
View user's profile Send private message
sushyad
n00b
n00b


Joined: 29 Jul 2003
Posts: 22

PostPosted: Fri Sep 10, 2004 4:21 pm    Post subject: Reply with quote

ok, when I said out-of-the-box, I meant bare minimum configuration :)

DWL-122 USB wireless adaptor works beautifully. I would recommend this one to anyone.

You will need to follow these steps to get it working:

1. If you have 2.6 series kernel, you will need to emerge at least pre 17 release of linux-wlan-ng:
Code:
USE="usb" emerge linux-wlan-ng-0.2.1_pre20.ebuild

In case you get an error about sandbox, use
Code:
FEATURES="-sandbox" USE="usb" emerge linux-wlan-ng-0.2.1_pre20.ebuild


2. Configure your wireless settings (I have mine setup for WEP):

Code:

nano /etc/conf.d/wlan.conf

Modify SSID_wlan to insert your wireless SSID (from your wireless router settings):
Code:
SSID_wlan0="<Your Domain here"

Create your domain settings file:
Code:

cd /etc/conf.d
cp wlancfg-DEFAULT wlancfg-<YourDomain>
nano wlancfg-<YourDomain>
and change the parameters to use WEP or not:

Code:
lnxreq_hostWEPEncrypt=false     # true|false
lnxreq_hostWEPDecrypt=false     # true|false
dot11PrivacyInvoked=true        # true|false
dot11WEPDefaultKeyID=0          # 0|1|2|3
dot11ExcludeUnencrypted=false   # true|false, in AP this means WEP is required.

PRIV_GENERATOR=/sbin/keygen     # nwepgen, Neesus compatible
PRIV_KEY128=               # true if 128 bit key, otherwise false
PRIV_GENSTR="<your WEP key string>"

Now, add wlan0 to /etc/conf.d/net

Code:
nano /etc/conf.d/net


Add this somewhere:

Code:
iface_wlan0="dhcp"


or static ip if you want.

4. Create /etc/init.d/net.wlan0:

Code:
cp /etc/init.d/net.eth0 /etc/init.d/net.wlan0


5. Add this to your /etc/modules.conf:

Code:
alias wlan0 prism2_usb


6. Add services to the default levels:

Code:
rc-update add wlan default
rc-update add net.wlan0 default


7. To test things out:


Code:

modprobe prism2_usb
/etc/init.d/wlan start
/etc/init.d/net.wlan0 start


If everything is fine, you should see if wlan0 in your ifconfig output.

I hope I have not missed out something. I tried to explain it well for someone not too familiar with linux. Do not hesitate to ask any questions if you have any doubts.
Back to top
View user's profile Send private message
patrickbores
Apprentice
Apprentice


Joined: 19 May 2003
Posts: 276
Location: Minneapolis, MN, USA

PostPosted: Sun Oct 03, 2004 6:51 am    Post subject: Reply with quote

These instructions are good, but I'm getting errors loading the modules:

Code:

WARNING: Error inserting p80211 (/lib/modules/2.6.7-gentoo-r14/kernel/drivers/net/p80211.ko): Invalid module format
FATAL: Error inserting prism2_usb (/lib/modules/2.6.7-gentoo-r14/kernel/drivers/net/prism2_usb.ko): Invalid module format


I'm going to go searching...
_________________
P.S. - this is what part of the alphabet would look like if Q and R were eliminated.
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Sun Oct 03, 2004 10:10 am    Post subject: Reply with quote

You might have changed your gcc version .. try recompiling the kernel, then the modules. I had the same prob.
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum