LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-18-2005, 06:10 AM   #1
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Rep: Reputation: 16
Fresh Slackware install, some issues, help needed.


OK guys, here's the thing.
I've just installed Slackware 10.2 onto my desktop computer.
Erelier I have used VectorLinux, and I don't want to stress about compiling my own kernel, so I decided to install Slackware because I need to get my WiFi card work. Besides, I want to learn a distro where I'm in total control of the system.

This is my weird issues:
1.[Fixed] Shutdown:
When I pull a "shutdown -h now", the OS is killed, but my computer is still alive if you see what I mean. All the umounting of devices and so on are made in the console,but when its finished, it stands "Power off", and then I have to use the powerswitch on my computer to kill my box. When I used VectorLinux, my computer was shut down properly when I used "shudown -s now". Any idea of how I can make my computer _shutdown_?
Solution: "modprobe apm"
Thanks to rkrishna & Nylex

2. WiFi Driver
I have a D-Link PCI card which is supperted by the madwifi driver, so I installed it, using this HowTo:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

These are the steps I have done so far:
Installed the driver(make, make install)
Loaded the module(modprobe ath_pci)
Created an interface (wlanconfig ath0 create wlandev wifi0 wlanmode sta)
Brought up the interface(ifconfig ath0 up)
Scanned for networks(wlanconfig ath0 list scan)
Connected to a open network(iwconfig ath0 essid "netname")

At this point, when I open Kwifimanager, it tells me how strong the signal is, transferspeed and so on, so I recon the card works.

But when I do a "dhclient ath0" I get this error:
"ath0: not found"
When I when i pull a "dhclient" it tries to get an IP adress for the eth0 interface, but when I pull a dhclient eth0, I get the same error as with "dhclient ath0":
"eth0: not found"

Any ideas?

3.[Fixed] Optical mouse.
My Dell optical USB mouse don't work in slackware, but it did in Vector. And the X.org conf is the same. Any Ideas?
Solution: run mouseconfig and choose USB and restart X.
Thanks to DragonM15


In advance, tanks.
Love, Jorek.

P.S Sorrt for bad english...

Last edited by Jorek; 12-18-2005 at 07:51 AM.
 
Old 12-18-2005, 06:25 AM   #2
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Ok, as far as not completely shutting down, your kernel most likely doesn't support the powermanagement for your computer... I have not done anything for wireless, but I do intend to soon, lemme know how it goes? As far as the optical mouse.... by default slackware will use ps2... most optical mice are usb, I am assuming yours is? try using mouseconfig and switching to usb. Hope this helps a little bit

DragonM15
 
Old 12-18-2005, 07:13 AM   #3
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
2/3

for powerdown problem
edit the /etc/rc.d/rc.modules

there is one line with apm something like
(i dont remember i am using one winblows machine outside)
#/sbin/modprobe apm --->
/sbin/modprobe apm
uncomment the line ie remove #
so that first time u shutdown it wont work, but the next time after u restart and shutdown it will work then only the kernel wil take the module.(dont try reboot )


go to this thread it includes what all u needed basically
http://www.linuxquestions.org/questi...d.php?t=174447

wifi driver no idea

regards
--
Edit: try xorgsetup,(read much more) it wil configure much X automatically, if not.

Last edited by rkrishna; 12-18-2005 at 07:22 AM.
 
Old 12-18-2005, 07:16 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by rkrishna
for powerdown problem
edit the /etc/rc.d/rc.modules

there is one line with apm something like
(i dont remember i am using one winblows machine outside)
#/sbin/modprobe apm --->
/sbin/modprobe apm
uncomment the line ie remove #
so that first time u shutdown it wont work, but the next time after u restart and shutdown it will work then only the kernel wil take the module.(dont try reboot )
Yes, that's what I was going to suggest. Jorek could do a "modprobe apm" (as root, of course) first and then try to shutdown and see if it works. If it does, then uncomment the line in rc.modules.
 
Old 12-18-2005, 07:53 AM   #5
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
Thanks guys.
Got 2 out of 3 problems fixed
Only need to get that WiFi driver working now...
 
Old 12-18-2005, 11:56 AM   #6
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current with KDE 4.8.5
Posts: 300

Rep: Reputation: 35
Thumbs up bareacpi.i

Hi out there

You can also use the bareacpi.i kernel from the install disc in order to make use of ACPI (most new PCs have ACPI).

Good luck!
 
Old 12-18-2005, 02:00 PM   #7
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Well it's a shot in the dark, but we should start the WiFi problem by asking you to give us a lsmod and lspci and 'cat dmesg' output. After that we will have something to work with...
 
Old 12-18-2005, 02:23 PM   #8
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
OK, here's my outputs:
Code:
lsmod
Module                  Size  Used by    Tainted: P  
snd-pcm-oss            36736   0 
snd-mixer-oss          12376   0  [snd-pcm-oss]
keybdev                 1892   0  (unused)
mousedev                4020   1 
hid                    20868   0  (unused)
usbmouse                1880   0  (unused)
input                   3200   0  [keybdev mousedev hid usbmouse]
hw_random               2712   0  (unused)
snd-intel8x0           18304   0 
nvidia               3205624   6 
usb-ohci               19368   0  (unused)
ehci-hcd               17516   0  (unused)
usbcore                59148   1  [hid usbmouse usb-ohci ehci-hcd]
snd-ca0106             15012   1 
snd-ac97-codec         58556   0  [snd-intel8x0 snd-ca0106]
snd-pcm                54344   0  [snd-pcm-oss snd-intel8x0 snd-ca0106 snd-ac97-codec]
snd-timer              13764   0  [snd-pcm]
snd                    32772   1  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ca0106 snd-ac97-codec snd-pcm snd-timer]
snd-page-alloc          4712   0  [snd-mixer-oss snd-intel8x0 snd-ca0106 snd-pcm snd-timer snd]
soundcore               3396   8  [snd]
ath_pci                68624   0  (unused)
ath_rate_sample         7564   0  [ath_pci]
wlan                  137980   1  [ath_pci ath_rate_sample]
ath_hal               181904   1  [ath_pci ath_rate_sample]
eepro100               18836   1 
mii                     2272   0  [eepro100]
pcmcia_core            39172   0 
ide-scsi                9392   0 
agpgart                45508   3
Code:
lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 20)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
00:07.5 Multimedia audio controller: Advanced Micro Devices [AMD] AMD-768 [Opus] Audio (rev 03)
00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 05)
01:05.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07)
02:04.0 USB Controller: NEC Corporation USB (rev 41)
02:04.1 USB Controller: NEC Corporation USB (rev 41)
02:04.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:05.0 Multimedia audio controller: Creative Labs SB Audigy LS
02:05.1 Input device controller: Creative Labs SB Audigy LS MIDI/Game port
02:06.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
02:09.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 10)
Code:
cat dmesg
cat: dmesg: No such file or directory
 
Old 12-18-2005, 03:05 PM   #9
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
Hi

My guess is that the card is ok but just not set up for dhcp.

Take a look in /etc/rc.d/rc.inet1.conf and see shich cards are set up for dhcp.
 
Old 12-18-2005, 05:00 PM   #10
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
OK, thanks so far guys
I looked in the rc.inet1.conf, and made this:
Code:
 
#IFNAME[4]="ath0" 
#IPADDR[4]="" 
#NETMASK[4]="" 
#USE_DHCP[4]="yes"
Look like this:
Code:
 
IFNAME[4]="ath0" 
IPADDR[4]="" 
NETMASK[4]="" 
USE_DHCP[4]="yes"
Then when I ran dhclient ath0 I got this output:
Code:
 
Listening on Socket/ath0 
Sending on Socket/ath0 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 21
My wireless network uses netmask 255.255.255.0 (Or whatever the standar is),
so I changed the inet1.conf to:
Code:
 
IFNAME[4]="ath0" 
IPADDR[4]="" 
NETMASK[4]="255.255.255.0" 
USE_DHCP[4]="yes"
But I still get this output from dhclient ath0:
Code:
 
Listening on Socket/ath0 
Sending on Socket/ath0 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8 
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 21
How to make dhclient listen on netmask 255.255.255.0 insted of 255.255.255.255? I'm almost there, just the final leap, so please help me Thanks, Jorek

Last edited by Jorek; 12-18-2005 at 05:04 PM.
 
Old 12-19-2005, 04:58 AM   #11
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
The wireless adapter seems to be connecting to your computer fine and is broadcasting a DHCPDISCOVER packet on all broadcast subnets. Therefore it cannot fine your wireless router. Do you have your essid setup correctly?
 
Old 12-19-2005, 04:59 AM   #12
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Also are you using WAP encryption?
 
Old 12-19-2005, 05:11 AM   #13
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Just to make sure you have your wireless card configured correctly, run iwconfig. And give us the output.

And after that run (iwlist ath0 scan) to see what all networks your card sees. If you see the line that reads
Code:
Encryption key:on
this means you are going to have to give iwconfig the key via
Code:
iwconfig ath0 key s:(your pass phrase)
Afterwards you should be able to run dhcpcd ath0 and you should get an IP address unless you ran iwlist ath0 scan and you didn't see your network. In which case your WNIC isn't seeing your router for some reason.

Last edited by richcoosa19; 12-19-2005 at 05:14 AM.
 
Old 12-19-2005, 09:03 AM   #14
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
The network is not ecrypted...
Code:
# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"default"  Nickname:"PC"
          Mode:Managed  Frequency:2.437 GHz  Access Point:I wont tell you.   
          Bit Rate:36 Mb/s   Tx-Power:31 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key: off
          Power Management: off
          Link Quality=42/94  Signal level=-53 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries: 0  Invalid misc: 0   Missed beacon: 0
 
Old 12-20-2005, 07:47 AM   #15
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
Anyone?
I hate to bump, but I would like to fix the card as soon as possible, because I'm going to a LANParty with my friends this christmas holiday..
In advance thanks.
Love, Jorek.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fresh SUSE 10.0 Install, Odd Issues Ignition331 Suse/Novell 6 12-03-2005 09:15 PM
Fresh MEPIS install boot issues Boyer Linux - Software 3 10-05-2005 09:18 PM
fresh deb install... sound issues (alsa, es1371) fenderman11111 Linux - Software 9 12-30-2004 01:02 PM
Configuring internet again on a fresh Mandrake 10 install, advice needed xxvm1 Mandriva 1 10-31-2004 01:55 PM
Driver Issues after fresh install kysen Debian 1 04-16-2004 01:21 AM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration