SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and it doesn't work unless i disconnect the dongle and connect it again.
When i see the LED blinking i disconnect it and reconnect it again, in this case the connection works (i do this when i see: "Activating hardware detection: /etc/rc.d/hotplug start" on screen)
If i don't do that, the connection seems dead (again a lot of time waiting for "dhcpcd rausb0").
When i use the rc.local "script" and don't disconnect the dongle, i can't use it anymore, i have to disable rc.local and restart the computer and than i have to manually enter the commands. When i try to enter them without disconnecting the dongle, the connection is dead but I can disconnect it and connect it again.
Does anybody know what is wrong? Or is there a way to disable the USB from "rc.local" then enable it again and run the commands afterwards?
enable rc.local and boot up without unplugging the device. When you get to a console, run 'dmesg' to see what the problem is. Post the relevant portions (the last page or so) of the output if you are unsure.
I can't make it work anymore and don't know how to post the "dmesg" output.
after I enter this line: "wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -i rausb0 -D ralink" the LED stops blinking, "ifconfig" shows only "lo" I have to run "ifconfig rausb0 up) the LED starts to blink, also "iwlist rausb0 scan" works.
When I run "dhcpcd rausb0" the LED start to blink but nothing happens.
I don't know what is happening. I turned my PC down, after 5 minutes started it up again and ran the scripts it seems to be working.
dmesg:
Quote:
dmesg
Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000bff0000 (usable)
BIOS-e820: 000000000bff0000 - 000000000bff3000 (ACPI NVS)
BIOS-e820: 000000000bff3000 - 000000000c000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
191MB LOWMEM available.
On node 0 totalpages: 49136
zone(0): 4096 pages.
zone(1): 45040 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=301
Initializing CPU#0
Detected 400.936 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 799.53 BogoMIPS
Memory: 191196k/196544k available (1832k kernel code, 4964k reserved, 607k data, 120k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb190, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
PCI: Using IRQ router VIA [1106/0586] at 00:07.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xe4000000, mapped to 0xcc80d000, size 937k
vesafb: mode is 800x600x8, linelength=800, pages=15
vesafb: protected mode interface info at c000:4785
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdcMA, hddMA
hda: FUJITSU MPB3052ATU E, ATA DISK drive
blk: queue c03af460, I/O limit 4095Mb (mask 0xffffffff)
hdd: ATAPI CDROM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 10253250 sectors (5250 MB), CHS=638/255/63, UDMA(33)
hdd: attached ide-cdrom driver.
hdd: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 < hda5 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 663.200 MB/sec
32regs : 381.600 MB/sec
pII_mmx : 908.000 MB/sec
p5_mmx : 945.600 MB/sec
raid5: using function: p5_mmx (945.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
ide0(3,1):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 433712k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 149M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 64M @ 0xe0000000
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative ViBRA16X PnP'
isapnp: 1 Plug & Play card detected total
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
rtusb init ====>
usb.c: registered new driver rt73
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
hub.c: new USB device 00:07.2-1, assigned address 2
idVendor = 0x148f, idProduct = 0x2573
hub.c: new USB device 00:07.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x46d/0xc00e) is not claimed by any active driver.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rt73 driver version - 1.0.3.6
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
usb.c: registered new driver usbmouse
input0: Logitech USB-PS/2 Optical Mouse on usb1:3.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
root@darkstar:~#
My temporary solution:
I copied the rc.local to the desktop, renamed it NET, uncommented the lines that are needed to start the connection, so i unplugg the dongle, plugg it in again, click on NET. It worked this time.
dmesg was created before, when I had rc.local enabled.
EDIT:
Another interesting thing:
In my router I set up all MAC addresses with IP associations, in LOGs i found out that the IP for the MAC of the dongle was assigned, but the router reassigned it another one, the 192.168.1.104 instead of 192.168.1.103
hmm. This is stragne. You don't seem to be getting any kernel errors at boot up. Poor wireless connection maybe? For internet at boot up, you can also try edetting the /etc/rc.d/rc.inet1.conf, I belive there aer some sections in here that relate to wireless. I've never set up wireless myself so I don't know how much furether help I can give you. Let me know if you get any other error messages or if anything changes with the behavior and I'll see what I can do.
My IP is now 192.168.1.100, it doesn't make any sense. The router is set to assign 192.168.1.103 to the MAC of the dongle but it seems that it is ignoring it.
I'll remove the IP from rc.inet1.conf.
i dont have wireless so im not familiar with any of the configuration, but, you said that the router is supposed to assign a specific IP address.
USE_DHCP[4]"yes"
how come this is 'yes'? do you use dhcp or not?
Now the card gets the right IP, but i still have to unplugg it and use my temporary method.
I don't know if it is a hardware, router or configuration error.
EDIT:
I tried to run "dmesg" after i unplugged the dongle and set up the connection, the output is almost the same as yesterday except 5 added lines:
Quote:
usb.c: USB_disconnect on device 00:07.2-1 address 2
unregistered_netdev()
hub.c: new USB device 00:07.2-1, assigned address 4
idVendor = 0x148f, idProduct = 0x2573
rt73 driver version - 1.0.3.6
in the previous output:
Quote:
hub.c: new USB device 00:07.2-1, assigned address 2
idVendor = 0x148f, idProduct = 0x2573
The line "rt73 driver version - 1.0.3.6" is missing, maybe the problem is somewhere here
EDIT2:
tail /var/log/messages
Quote:
kernel: input0: Logitech USB-PS/2 Optical Mouse on usb1:3.0
kernel: usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
kernel: usb.c: registered new driver hiddev
kernel: usb.c: registered new driver hid
kernel: hid-core.c: v1.0.1 Andreas Gal, Vojtech...
kerner: hid-core.c: USB HID support drivers
kernel: mice: PS/2 mouse device common for all mice
logger: /etc/rc.d/rc.hotplug start (exit script)
sshd[925]: Server listening on 0.0.0.0 port 22.
/usr/sbin/gpm[947]: imps2: Autp-detect intellimouse PS/2
after unplugging and plugging in again:
tail /var/log/messages:
Quote:
kernel: hid-core.c: v1.0.1 Andreas Gal, Vojtech...
kerner: hid-core.c: USB HID support drivers
kernel: mice: PS/2 mouse device common for all mice
logger: /etc/rc.d/rc.hotplug start (exit script)
sshd[925]: Server listening on 0.0.0.0 port 22.
/usr/sbin/gpm[947]: imps2: Autp-detect intellimouse PS/2
kernel: usb.c: USB disconnect on device 00:07.2-1 address 2
kernel: hub.c new USB device 00:07.2-1, assigned address 4
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig rausb0 nick darkstar
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig rausb0 essid any
Today I reinstalled Slackware, RT73 drivers and WPA_Supplicant, now i can't ping anything outside my network. I can ping my router and my other 2 computers, if I ping google IP or google.com i don't get any respond i also tried other IP addresses and it is always the same.
Does anybody know what is and what is not important in network config files? FOr example, do I need to modify my rc.inet1.conf? What do I have to change?
I entered the rausb0 for fourth device, entered the Gateway address (router's IP), entered netmask address (255.255.255.0).
Router (DHCP) assignes IPs to all computer, I have WPA-PSK (TKIP) encryption, SSID is broadcasted, channel 5, dongle MAC address is enabled in router settings.
My "/etc/wpa_supplicant.conf" file looks like this:
Next, you need to create a file in /etc/sysconfig/network-scripts called : ifcfg-wlan0
Add the following to this file:
DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=00:90:4X:94:22:6X <- Your wireless card MAC address, get it with ifconfig
ONBOOT=yes
TYPE=Wireless
MODE=Managed
ESSID='HomeNet' <- The name of your access point(wireless router).
CHANNEL=
IPADDR=
DOMAIN=
NETMASK=
USERCTL=no
PEERDNS=no
GATEWAY=
IPV6INIT=no
RATE=Auto
KEY=7DC0E6358666EEFA3B088888 <- Your access point generated security key.
at the beginning it says to create a file in "/etc/sysconfig/network-scripts" i can't find sysconfig on my HDD neither network-scripts. Do i have to create this 2 folders or do I have to place that file somewhere else?
newbie here. i am using Fedora 5 and i am encountering a similar problem here. Not sure if this is the correct thread to post.
The problem is my D-Link G122 wireless usb adapter. I downloaded the drivers from ralink using the rt73 driver. I was able to compile successfully. I am trying to install WPA_Supplicant to link to it bcos my wireless network is running on WPA. This is where all my problem starts.
1) I have to manually insert the module rt73.ko everytime i restall.
2) wpa_cli encountering error
Quote:
Could not connect to wpa_supplicant - re-trying
Below are the details about my dlink device and wpa_supplicant setting
Bus 001 Device 004: ID 07d1:3c03 D-Link System
Bus 001 Device 003: ID 062a:0000 Creative Labs
Bus 001 Device 002: ID 0409:55aa NEC Corp. Hub
Bus 001 Device 001: ID 0000:0000
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.