LinuxQuestions.org
Visit Jeremy's Blog.
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 09-05-2007, 08:35 PM   #16
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159

Quote:
Originally Posted by Lufbery View Post
Hi all,

I'm new to this too, and I'm wondering if I'm missing something fundamental. So here is a very basic question:

Is it possible to log onto open networks like at my local pizza shop or Borders book store without knowing the details of how their wireless access point is configured and/or editing configuration files on my hard drive?

Regards,

-Drew
Hi,

I don't use KDE to connect my lan but you could use the Wireless Assistant App. wifi-radar would be another KDE application. These links and others are referenced at 'Slackware-Links' formerly 'Slackware LQ Suggestions Links!' for other good online references.
 
Old 09-05-2007, 11:45 PM   #17
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Exclamation Thanks!

Eric:

I'm not disputing your way of doing things, it's just that when I went to get wireless working on the system I kept running into this:
Quote:

Wireless card..Wireless router.. Slackware 10.2 ..Problems with ...

Wireless router.. Slackware 10.2 ..Problems with Internet Connection. ... There will be plenty of other users who have setup this card in linux who will ...
http://www.linuxquestions.org/questi...d.php?t=406897 - 53k - Cached - Similar pages
Building a Slackware Wireless Access Point - LinuxQuestions.org

Section 3 shows you how to set up an Ethernet card, which you may safely skip if you .... and firewalling, so that wireless clients can access the Internet. ...
http://www.linuxquestions.org/linux/...ng/Building_a_Slackware_Wireless_Access_Point - 45k - Cached - Similar pages
[ More results from www.linuxquestions.org ]

DHCP and Slackware Linux - UBC Information Technology

This document describes how to set up Slackware Linux 8.0 using DHCP (Dynamic ... If you are connecting using ResNet, Internet Access Ports or Wireless, ...
www.it.ubc.ca/internet/resnet/setupdocs/dhcpslackware.html - 23k - Cached - Similar pages

Wireless

First, you'll want to configure your wireless access point. ... of setting up wifi for those times when you find yourself at an Internet cafe, coffee shop, ...
slackbook.org/html/network-configuration-wireless.html - 9k - Cached - Similar pages

HOWTO: Set up wireless internet (Desktop or laptop) - Ubuntu Forums

HOWTO: Set up wireless internet (Desktop or laptop) Tutorials & Tips. ... Debian, Fedora/RedHat, Slackware, OpenSuse, Mac OSX, Gentoo, Windows Discussions ...
ubuntuforums.org/showthread.php?t=112526 - Similar pages

Need help with configuring wireless internet on a fresh Kubuntu ...

There was a PET about ndiswrapper and wireless setup on LJR but it didn't make it over ... Slackware Help, Macintosh Help, Linux General / Installation Help ...
www.openfree.org/forums/showthread.php?t=15265 - 37k - Cached - Similar pages

Wireless and Slackware? - Linux Forums

It was fairly simple to set up a wireless PCMCIA card in my Slackware 10.1 ... I have it working with internet on the Debian install, but now Slackware. ...
www.linuxforums.org/forum/slackware-linux-help/44052-wireless-slackware.html - 62k - Cached - Similar pages

slackware + wireless USB - Linux Forums

Discuss slackware + wireless USB on the 'Wireless Internet' forum of ... Wireless Internet Anything related to getting wireless set up in Linux. ...
www.linuxforums.org/forum/wireless-internet/76063-slackware-wireless-usb.html - 40k - Cached - Similar pages
[ More results from www.linuxforums.org ]

Internet Security Effecting U Torrent ???

I haven't changed ISP's but have set up wireless but my connection seems fine ... If your port test is OK, then you can run a test with Slackware 10.2 ...
forums.afterdawn.com/thread_view.cfm/546484 - 71k - Cached - Similar pages

Slackware 12 Review: configure wireless, NTFS, VMWare, and create ...

You are here: Home → RSS Feed Manager → Slackware 12 Review: configure wireless, NTFS, VMWare, and create a custom installation DVD ...
http://www.linux.co.uk/rss_manager/2...earchterm=None - 25k - Cached - Similar pages

And what you see there is Santa Clause in comparison.

Thanks to you, I now know of a very simple way of setting up wireless however no where was this info made apparent. No where on LQ.org or anywhere else. Everything had to be installed from scratch and this was only a few short months ago.

I'm tempted to try your way of doing things, but I got the script written now and for none encryption purposes it's fine. Not arguing that your method of doing it is right or wrong... just completely unknown to me due to 10,000 reasons.

For the record, I appreciate your input.

- Perry
 
Old 09-06-2007, 05:01 AM   #18
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
That google search did indeed return nothing useful ;-)

I just realized that I will have to write a proper README_WIRELESS.TXT for inclusion in the next slackware-current tree when Pat goes public again.
Your google-search results are reasons enough for writing that...

I am glad you did not take my rant as a display of arrogance. It was meant as positive feedback. Please have a look at some of the articles on wireless here: http://alien.slackbook.org/dokuwiki/...ware:slackware - they did not show up in your search.

Eric
 
Old 09-06-2007, 05:51 AM   #19
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
If you guys don't mind me chiming in here -- I really appreciate your discussion (I was kind of hoping that this would happen so I could learn more about what's going on under the hood when Slackware starts...). At this point I am wondering whether my difficulties in getting access to different wireless networks might be issues with a not-yet-fully-mature driver. I was using the iwl3845 driver and have just switched to the ipw3945 driver (thanks for the slackbuild Eric!) and so far things seem much more straightforward. The problems have been not seeming to be able to find one setup or routine that would work consistently in all cases, even though the Slackware config files should be simple to set up properly. I'll continue testing on various wireless access points today.

-geo
 
Old 09-06-2007, 09:37 PM   #20
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Wink Actually...

Were it not my only link to the web, I'd love to see if Eric's method would work for me. I cannot seem to find the CONFIG_4KSTACK in my .config file (on the web you'll find it and for a 2.6.21.5 kernel, but not mine!) so I'm stuck with that complication which, I would have to say, would perhaps be the #1 reason why I made the jump from my Slackware 10.1 2.4.x kernel to Slackware 12.0 2.6.x series. Had I only know about that "hack" I would not have took the chance on Slackware w/o Gnome... and where would I be today...?

I simply LOVE my Slackware 12.0 / Dropline Gnome, even over a Mac and that's saying something.

There is something about doing it yourself that gives you so much more of a *connected* feeling, albeit to your machine. Now if I could only figure out how to compile a kernel for the girlfriend....

- perry
 
Old 09-07-2007, 04:19 AM   #21
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by perry View Post
I cannot seem to find the CONFIG_4KSTACK in my .config file (on the web you'll find it and for a 2.6.21.5 kernel, but not mine!)
Hi Perry

The "CONFIG_4KSTACK" is indeed not found in the kernel config, and this is the reason why an ndiswrapper compilation complains.
However, this is not at all a problem. The default for the kernel is to use 8K stacksize, and "CONFIG_4KSTACK" is by default never present in the .config. You can enable "#CONFIG_4KSTACK is not set" in the advanced kernel features and this will silence the compilation of ndiswrapper, but this is basically a pointless exercise for the kernel's configuration. Really the ndiswrapper should check the stack size in a different way.
To summarize: your stock Slackware kernels are completely fine, and ndiswrapper does an incorrect check for stack size.

Eric
 
Old 09-07-2007, 08:08 AM   #22
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Update:
Using the ipw3945 driver seems to have solved my problem. In the /etc/rc.d/rc.wireless.conf file I use the minimal settings, including my home WEP key. And then when open up X I use wifi-radar to switch to other networks if I happen to be elsewhere. No problems. No need to reedit the conf file or restart /etc/rc.d/rc.inet1 or reload the driver. And best of all the little wireless LED also works. Now that that's fixed I'll start messing around with wpa_supplicant...

-geo
 
Old 09-07-2007, 10:20 AM   #23
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Wink I gave it a shot...

Code:
# 
# Eric: First I tried just the parameters you suggested, then I just cut & pasted
#       what you had there. Even did a "ifconfig wlan0 up" nothing happened!
#       (out of everything I've read, it looked the most promising!)
#
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
WLAN_ESSID[4]="any"
WLAN_MODE[4]=Managed
Eric:

i didn't do a reboot however, i thought a simple rc.inet1 stop/start would be fine. as i need to do this in order to manually toggle the wireless due to it's nature. previously i had a netgear wireless router that sometimes went down about every five minutes, my new linksys router (i have a linksys router and a linksys wireless adaptor) is up pretty much all day (but does manage to get jammed at least once a day).

- perry

Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

# 
# Eric: First I tried just the parameters you suggested, then I just cut & pasted
#       what you had there. Even did a "ifconfig wlan0 up" nothing happened!
#       (out of everything I've read, it looked the most promising!)
#
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
WLAN_ESSID[4]="any"
WLAN_MODE[4]=Managed

## Example config information for wlan0.  Uncomment the lines you need and fill
## in your info.  (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"              # Use a different interface name nstead of
                                # the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89"  # Overrule the card's hardware MAC address
#MTU[4]=""                      # The default MTU is 1500, but you might need
                                # 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes"       # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes"          # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes"           # If you don't want the DHCP server to change
                                # your default gateway
#DHCP_IPADDR[4]=""              # Request a specific IP address from the DHCP
                                # server
#WLAN_ESSID[4]=DARKSTAR         # Here, you can override _any_ parameter
                                # defined in rc.wireless.conf, by prepending
                                # 'WLAN_' to the parameter's name. Useful for
                                # those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
                                # Some drivers require a private ioctl to be
                                # set through the iwpriv command. If more than
                                # one is required, you can place them in the
                                # IWPRIV parameter (space-separated, see the
                                # example).
 
Old 09-08-2007, 05:09 AM   #24
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Does "ifconfig -a" still show a "wlan0" interface? Now that you no longer use your own script, you would have to add a line of "/sbin/modprobe ndiswrapper" to for instance the end of the file "/etc/rc.d/rc.modules" or else your wireless card won't get activated.

What does "iwconfig -a" tell you?

Eric
 
Old 09-08-2007, 11:14 AM   #25
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Quote:
RE: #1 -- I'd rather avoid using kwifimanager, since I find KDE apps a bit clunky. But that's an aesthetic judgment, not a functional one. I have been using wifi-radar and the results have been unreliable.
The March 2005 issue of Linux Magazine has a nice introductory article (link is to the PDF) about Kwifimanager. It's a small app that sits in the tray and lets you configure up to 10 acess points. Kwifimanager can also automatically connect to any up AP if you want.

Quote:
I'd rather wait a bit before ripping open my new laptop and sticking a used piece of hardware in it, though I am not averse to that in general.
Makes sense if your card is not simply accessed thought an easy to open door. Price quote was for a new card. Bluetooth is also very cheap and (again depending on the laptop) easy to install.

Quote:
The problem has been that I find myself having to re-edit too many config files, and restart too many services too often, and I was just looking for a more trimmed down way.
Check out the article above and decide for yourself if kwifimanager will do the job for you.

Dennisk
 
Old 09-08-2007, 12:23 PM   #26
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob View Post
Does "ifconfig -a" still show a "wlan0" interface? Now that you no longer use your own script, you would have to add a line of "/sbin/modprobe ndiswrapper" to for instance the end of the file "/etc/rc.d/rc.modules" or else your wireless card won't get activated.

What does "iwconfig -a" tell you?

Eric
Code:
root@slackware:/home/perry# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:09:84:96:1B  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 Base address:0xaf00 

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:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3600 (3.5 KiB)  TX bytes:3600 (3.5 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:12:17:81:B2:64  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::212:17ff:fe81:b264/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12488 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8291 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14326514 (13.6 MiB)  TX bytes:658594 (643.1 KiB)

root@slackware:/home/perry# iwconfig -a
-a        No such device
 
Old 09-08-2007, 12:59 PM   #27
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
dennisk,
Thanks for the further info on kwifimanager. I'll check it out. It seems that the problem had less to do with the particular tools I was using, than it did with the driver. Since I switched to the ipw3945 driver I can easily get connected. For some reason the iwl3945driver from intellinux must have been the reason I couldn't get reliable connections without multiple redits and restarts of config files scripts. Hopefully the ipw3945 driver will follow the earlier ipw2100 and 2200 into the kernel.

cheers,
-geo
 
Old 09-08-2007, 02:01 PM   #28
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
All's well that ends well, so they say. Glad it's working.

Dennisk
 
Old 09-08-2007, 03:28 PM   #29
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by perry View Post
[code]
root@slackware:/home/perry# iwconfig -a
-a No such device
The -a switch is only applicable to ifconfig, not iwconfig. It was probably just a typo in Eric's post.

In my experience the CONFIG_4STACK warning can be ignored.

It seems like your wireless is working fine now?

Brian
 
  


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
slackware intel wireless configuration jommy Linux - Wireless Networking 1 06-13-2006 03:31 AM
3com Wireless PCI adapter configuration problems on Slackware 10.2 tux31337 Linux - Wireless Networking 2 02-13-2006 11:36 AM
Tuning a Slackware 10 and kernel 2.6.10 mikz Slackware 2 02-11-2005 12:49 PM
Slackware 9 & Wireless configuration hecresper Slackware 4 03-27-2004 11:37 AM
--> :) slackware running, but still need help in tuning, thanks! pumpuli Linux - Newbie 3 01-08-2004 05:50 PM

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

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