LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   could someone please help a newbie setup a wireless connection (https://www.linuxquestions.org/questions/linux-wireless-networking-41/could-someone-please-help-a-newbie-setup-a-wireless-connection-404580/)

roddyguk 01-17-2006 03:06 PM

could someone please help a newbie setup a wireless connection
 
hi, ive just bought an old PC (P2 450, 128mb ram, ect) to learn to use linux with before i get rid of XP from my main machine.

its been goin quite well accept i cant figure out how to get my D-Link G122 usb dongle to work!

ive had a look a few guides but with no luck!

is there anyone out there that can help me?

like i said im a newbie so im gonna need easy to follow instructions.

im running debian sarge 3.1 with the 2.6.8-2-686 kernel

thanks in advance

halvy 01-18-2006 09:12 AM

welcome roddy; make sure your d-link has the drivers installed.

make sure your wireless programs are installed (deb has several, install them all and see which ones you prefer).

let us know..

roddyguk 01-19-2006 07:16 PM

right! im slowly but surely getting there (i think)

i think iv got the drivers loaded right, but not sure how to go about setting it up.

iv install wireless tools, if i run iwconfig it comes up with
rausb0 RT2500USB WLAN ESSID:""
Mode:Managed Frequency=2.412 Ghz
RTS thr:off Fragment thr:off
Encryption ket:off
Link Quility=0/100 Signal level:-120 dBm
(Ect, Ect)

are the drivers installed correctly?

what do i do next?

halvy 01-19-2006 07:26 PM

pray...

lol.

i'm not tooo up on wireless..i wish i could help more..

what happens when you type route -n

type network-admin .. and make sure your card shows up.

what r u trying to connect to.. another wireless pc.. or your isp.. or what.

keep us informed.. maybe someone will notice who can help more. :)

roddyguk 01-20-2006 02:48 AM

yeah ive been doing alot of praying these last couple of days :)

when i run route -n i get

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

and network-admin does nothing (command not found)

im trying to connect to my router, dont think theres any problems there as i can connect my xp machine no problem.

iv disabled all security on the router at the moment.

but by the looks of route -n somethings not setup right.

any more ideas?

halvy 01-20-2006 03:03 AM

well your are right about your route not looking right-- if fact it looks like a pig with make-up on :] lol...

it should have a destination # (the network # usually, and a # for the gateway)... actually yours might be close enuff.. but we'll find out.

yes there is something more we can do.

first make sure you are disconnected from the internet when you have all of your firewalls down.

we need to either get network-admin installed, or see if you have some other program installed that will make it easier for you to administer your network.

infact lets just install webmin--- the ace-de-la-creme of linux admins :)

install as many modules as you can so it works properly.

it will have alot of functions for things like setting up a network, seeing which switches (ie progs and commands which start up at boot time), and a miriad of other goodies to help you out.

without these guis there are plenty of command-line tools, but i am not familiar enuff with them to tell you... hence a good gui should be had (which does the same thing as these tools).

look around for a tool in your menus.

which window manager do you use (ie kde, gnome, etc).

roddyguk 01-20-2006 03:40 AM

i had a look on apt and found loads of webmin progs, i installed webmin-dhcpd as it seemed like the only 1 which had something to do with the problem i got.

im running xfce4 as my windows manager, which has no network setting! do you think it worth installing kde?
mind this pc is only 450mhz with 128mb ram

halvy 01-20-2006 03:57 AM

there is a reason you need to install ALL the webmin that will allow you to.. and that is, you will have the ability to see what programs are starting and stopping, and set up a whole slue of other programs that are either related to networking, or stuff you will want to configure later.

not all programs have a front end (connection) to webmin, so take advantage of this admins tool.

and yes the 'base' of kde is important to install so you can have access to some of it's good progs (without actually running kde as your manager).

as far as your memory.. just make sure you have at least 526 or so mb hard disk swap availible.

JunctaJuvant 01-20-2006 04:35 AM

Have you tried "ifconfig rausb0 up"? I am guessing your router/accesspoint uses dhcp. So perhaps you could also try adding the following to /etc/network/interfaces:
Code:

iface rausb0 inet dhcp
Then execute "ifup rausb0"
Hope that helps.

roddyguk 01-23-2006 05:06 PM

ok ive installed kde-core, and ive been looking for a way to install all the webmin progs at once (not sure what command to use) i tryed apt-get install webmin-* but it said "The following packages have unmet dependencies:" and listed a few progs. if i sorted the dependencies would that command work alright?

i tryed what you said JunctaJuvant "ifconfig rausb0 up" and the light on my dongle comes on and when i type iwconfig it picks up the essid from my router, plus a load of other info. what now?

JunctaJuvant 01-23-2006 05:41 PM

That's good! If you are using dhcp on your router (that would be convenient) you can follow the instructions I already posted: edit the file /etc/network/interfaces in a text editor and add the line "iface rausb0 inet dhcp" (without the "quotes"), like I suggested. Then save the file, close the editor and execute the command "ifup rausb0". Hope that helps.

halvy 01-23-2006 06:37 PM

you need to install webmin in modules... ie, there is a 'base' webmin, but it does nothing.. sooo, you need to install the 'available' modules that makes the program 'useful'.

if you do: apt-get install webmin* it will ask if you want to install 'all of these' packages. say yes.

however, if apt-get 'tries' to delete anything.. MAKE SURE it doesnt delete anything that may be important (ie 'break' your sys).

sometimes synaptic is an easier program for installing, because you can quickly look and see what the different packages do.. and how they relate in importance to the rest of the os.

good to c u making progress :)

roddyguk 01-24-2006 04:24 PM

booya! i got it working :D

thanks a million guy, you both deserve as drink on me ;)

just 1 last question for you halvy, i installed symantic and had a look at webmin. loads of the webmin progs are for servers (mail, apache, ect) and other stuff like cluster, proxy, firewall, cd burning, ect. surely i dont need all that stuff, its gonna slow down my system aint it? is there any 1s you suggest i get?

i still need to set up some security either wep or something like that so my neighbours dont steal my bandwith! anything out there which is easy enough to setup?

once again guy thanx alot for the help i would have had no chance without you :)

halvy 01-24-2006 06:05 PM

well when you go2 install webmin, just install everything you can EXCEPT stuff that you possitively know you will NEVER use.

webmin is NOT going to slow your system down.

it doesn't hurt to install everything.. and the reason i suggest that to peeps is because without certain modules (i forget exactly which ones) webmin becomes pretty useless.

install Usermin also-- for easier administration of users.

my favorite part in webmin is the 'bootup & shutdown' module.. which lets you quickly see what is going on at boot up time.

you also get to set the run levels of when each prog starts (i'm not sure if it is in this area or not).

webmin has become the new choice amoung unix admin/freqs for configuring most of unices, including the old System V aspects... it is slowely replacing the old: LinuxConf program.

some modules are quirky.. and surely not every program out there 'supports' being access with webmin.

as far as firewalls.. you need to search more for wireless.. because the only thing i am slightly familiar with is: Guarddog.. which is simply, thorough, graphic.. and it works... but i don't know if it is enuff for you, or how wireless is supported in it.

congrats on figureing this all out :)


All times are GMT -5. The time now is 05:35 PM.