LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-10-2007, 07:28 AM   #1
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Rep: Reputation: 15
Question How do i go wireless in Slack 12?


Hey everyone,

Okay, so i have been using slack for a little bit (few months..2 tops?), anyway, i haven't had a whole lot of time to explore it, and there are two things that i miss from Kubuntu... the package manager, and Knetworkmanager.

So far i have Slapt-get to retrieve security updates and such (at least i think..but i am a noob so i don't know), the only problem with this is that i don't have an adequate wireless lan manager. I have tried Wifi-radar, Wlassistant, and i have tried to install network manager from source, but i just don't have the time to hunt for odds and ends.

My main point in writing this thread is to ask, What is the best, easiest, most simplistic, and reliable way of connecting to my wireless network in Slack 12?

Wifi-radar and Wlassistant were easy, but haven't been reliable, and only work like every 100 tries...

Sorry for rambling...this has been a problem haunting me for weeks...


-thanks Matt
 
Old 12-10-2007, 09:27 AM   #2
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
First we need to assure u have your wifi card properly installed.

Are the wifi modules loaded?

Now we need to know what wifi card we are talking about,

because each driver offers a different way to access the wifi card.

I myself use the atheros madwifi driver,

so I had to run #iwconfig, in a terminal, to see what interfaces were created by the driver.

In my case, the D-link 520G, rev B, chipset atheros, the interface was ath0.


Then, to get the conection up, I did

#ifconfig ath0 up
#dhcpcd ath0 (if u are going to use dhcp)


Once I tried Wlassistant too, but it only worked on root.
 
Old 12-10-2007, 10:13 AM   #3
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
Following on from erickFis' post we need to know what wireless card your laptop has. If you could login as root and send us the list that lspci produces it would help us make a start.

Simon
 
Old 12-10-2007, 10:18 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by simonb1975uk View Post
Following on from erickFis' post we need to know what wireless card your laptop has. If you could login as root and send us the list that lspci produces it would help us make a start.

Simon
You don't need to be root to run lspci. Never login as root unless you really need to. And when you do, use and setup sudo.

Most think just cause it's not in your default path means you can't run it. Just simply add /sbin to your users PATH and you're golden on a lot of commands. Just keep in mind, you can run most that create output, any that allow changing of configurations will require root type access.
 
Old 12-10-2007, 10:22 AM   #5
simonb1975uk
Member
 
Registered: Jan 2004
Location: In the county of Essex, UK
Posts: 72

Rep: Reputation: 15
Hmm live and learn as they say my box is pretty generic and it won't let me run lspci as user without running /sbin/lspci and I didn't even know you could do sudo on Slack. Always something new to learn I guess, thanks
 
Old 12-10-2007, 04:11 PM   #6
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Original Poster
Rep: Reputation: 15
Do you really need my lspci?

My wireless card is a Linksys WMP54GS (bcmwl5 driver)

I installed the Firmware, and i am pretty sure it works because i can access the internet, and when i run "iwlist scanning" it shows my network, and the signal, etc... so i am 99% positive it is installed correctly... but please correct me if i am wrong.


-Matt
 
Old 12-10-2007, 04:38 PM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
So what exactly is it that you need to do? I assume you have edited /etc/rc.d/rc.inet1.conf for your network preferences?

From my own experience the fastest, easiest, and most reliable way of getting connected to various hotspots is the command line. I'm a trucker and travel all over the country. I tried a couple of the 'easy' wireless managers and none of them were as reliable as just using the command line.

If you have some hotspots you hit on a regular basis you can just write shell scripts for them for a quick and easy connect. That's what I do.
 
Old 12-10-2007, 06:20 PM   #8
maniac matt
Member
 
Registered: Oct 2007
Location: Beantown
Distribution: Arch Linux
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by trickykid View Post
You don't need to be root to run lspci. Never login as root unless you really need to. And when you do, use and setup sudo.

Most think just cause it's not in your default path means you can't run it. Just simply add /sbin to your users PATH and you're golden on a lot of commands. Just keep in mind, you can run most that create output, any that allow changing of configurations will require root type access.


This may sound stupid...but what do you mean by add /sbin to users path?



and to masonm, I have not edited /etc/rc.d/rc.inet1.conf...but i will give it a chance and get back to you.
 
Old 12-11-2007, 12:52 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by maniac matt View Post
This may sound stupid...but what do you mean by add /sbin to users path?
trickykid meant something like this:

file ~/.bashrc
Code:
export PATH=$PATH:/sbin
file ~/.bash_profile
Code:
if -f ~/.bashrc; then
  . ~/.bashrc
This way /sbin is -- like all folders in your path before -- is searched for executables when you type in a command.
 
Old 12-12-2007, 04:26 AM   #10
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 31
Quote:
Originally Posted by maniac matt View Post
This may sound stupid...but what do you mean by add /sbin to users path?

and to masonm, I have not edited /etc/rc.d/rc.inet1.conf...but i will give it a chance and get back to you.
I don't know about your system, but /sbin is already in my path. As far as I know, it's a default. While having ~/.bashrc can allow you some really cool options and custom aliases, adding /sbin to a path statement in ~/.bashrc is unnecessarily redundant.

Now, since you have said you are using a Broadcom wireless adapter, might I suggest you check out these step-by-step instructions. I have used that process to set up Broadcom adapters on two different machines, and they both work fine.

Blessed be!
Pappy
 
Old 12-12-2007, 07:58 AM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by pappy_mcfae View Post
I don't know about your system, but /sbin is already in my path. [...] adding /sbin to a path statement in ~/.bashrc is unnecessarily redundant.
On a stock Slackware install /sbin is in root user's $PATH, but not for a normal user -- this is what I have experienced since Slackware 9.1. Maybe you have a custom ~/.bashrc or /etc/profile?
 
Old 12-12-2007, 11:37 AM   #12
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Rep: Reputation: 15
netconfig

make sure your hardware driver working , then
become root using su
run netconfig
run /etc/rc.d/rc.inet1 start|stop|restart (choose between them ..)
(note : rc.inet1 is run automatically at boot time )
next step depends on your config , but the router
node needs to run pppd to dial up a connection

Last edited by yakoub; 12-12-2007 at 11:41 AM.
 
Old 12-13-2007, 02:27 AM   #13
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 31
Quote:
Originally Posted by titopoquito View Post
On a stock Slackware install /sbin is in root user's $PATH, but not for a normal user -- this is what I have experienced since Slackware 9.1. Maybe you have a custom ~/.bashrc or /etc/profile?
I stand corrected. I only use my root account (yes, I know, that's bad...so is breathing the air in Dallas on a hot summer day...), so I wouldn't know about deficiencies in the system for those who don't use their root account.

I did also set up ~/.bashrc, and it works well. I haven't touched /etc/profile, so I can't comment on what it will or won't do.

Thanks for the clarification.

Blessed be!
Pappy
 
Old 12-13-2007, 10:41 AM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
[offtopic]

I think most of the danger of running things as root comes from the poor coding of many programs out there. For example, running wine as root is just pure madness. It causes problems even when run as regular user, luckily the effects wear off after reboot.
 
Old 12-13-2007, 02:10 PM   #15
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by maniac matt View Post
Do you really need my lspci?

My wireless card is a Linksys WMP54GS (bcmwl5 driver)

I installed the Firmware, and i am pretty sure it works because i can access the internet, and when i run "iwlist scanning" it shows my network, and the signal, etc... so i am 99% positive it is installed correctly... but please correct me if i am wrong.


-Matt
Isn't that driver highly experimental?

http://www.phoronix.com/scan.php?page=news_item&px=Mzc3
 
  


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
wireless in slack briansaysword Linux - Wireless Networking 5 10-01-2006 11:40 PM
Wireless and Slack 10.1 SoccerPenguin15 Linux - Wireless Networking 5 02-16-2005 10:49 AM
Wireless in Slack 10? oudent Linux - Wireless Networking 3 07-13-2004 09:03 PM
Slack 10.0 Wireless Problems TedNugent Slackware 11 07-06-2004 06:57 PM
slack 10 and wireless lyceum Slackware 2 06-28-2004 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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