LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fresh Slackware install, some issues, help needed. (https://www.linuxquestions.org/questions/slackware-14/fresh-slackware-install-some-issues-help-needed-394120/)

Jorek 12-18-2005 06:10 AM

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...

DragonM15 12-18-2005 06:25 AM

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

rkrishna 12-18-2005 07:13 AM

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.

Nylex 12-18-2005 07:16 AM

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.

Jorek 12-18-2005 07:53 AM

Thanks guys.
Got 2 out of 3 problems fixed:)
Only need to get that WiFi driver working now...

folkenfanel 12-18-2005 11:56 AM

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!

richcoosa19 12-18-2005 02:00 PM

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...

Jorek 12-18-2005 02:23 PM

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


heltreko 12-18-2005 03:05 PM

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.

Jorek 12-18-2005 05:00 PM

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

richcoosa19 12-19-2005 04:58 AM

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?

richcoosa19 12-19-2005 04:59 AM

Also are you using WAP encryption?

richcoosa19 12-19-2005 05:11 AM

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.

Jorek 12-19-2005 09:03 AM

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


Jorek 12-20-2005 07:47 AM

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.


All times are GMT -5. The time now is 07:48 PM.