-
Several issues -- and some solutions :-)
Hi,
This is my first post ever in this forum. I have installed Knoppix 3.4 in my hard disk so GNU/Linux is my only SO and my computer is finally MS-Free.
Most of the things are going fine with Knoppix, but I got some problems that may be you could help me with .
1.- When the computer starts, after the lilo booting, I se the penguin but the first messages say something about "devfs" (that it was not mounted). I do not have any idea about what this means. Anything seems to work properly afterwards anyway, but if someone has any idea about it and how to solve, I will really apreciate it.
2.- Wireless card: I have a ipw2100 card in my computer... and it works! The problem is that it does not work EVERY boot. What can I do when knoppix does not configure it properly at startup? Up to the moment I am just rebooting...
3.- Wireless configuraton: Another thing is that my router uses WEP, so I have to use the "su" command and "iwconfig" every time I boot. Is there a way to do it automatically at startup? I have been manipulating some files in /etc/wlan, but they do not seem to work...
Thank you very much in advance...
-
Senior Member
registered user
Here is some very general information about it:
http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html
Since Knoppix uses a special boot process, the message you see is probably not a real error.
I have to use the "su" command and "iwconfig" every time I boot.
The easiest way will be to put all the commands you are typing into a shell script (/etc/init.d/XXXXX). You can then configure your computer to run the shell script at every boot (in /etc/rcX.d)
Greetings,
probono
-
Hi...
Just wanted to say that putting the script in /etc/init.d worked fine. The only thing is that then I used a tool "Sys V-init-Editor" to put the script distinct "run-levels" (I think I guessed the good ones).
I took a look on the website, but just the first paragraphs looked a little intimidating (many known things for me, at lease), so I will try afterwards with more time.
Thank you very much...
Another thing: How can I do to make X to detect my USB modem once it is running? I managed to make it work, but it only does it when it is connected before starting X...
-
The script
Here is the script. Who knows... maybe it could be useful for another person. I changed it so it provides the wep key when detects my access point, or disables wep encryption otherwise (for the office).
It is written is perl, since I'm more familiar (not expert) with this languague than shell scripting.
Code:
#!/usr/bin/perl
# myaccesspoint.pl
# Looks for my home access point and provides my WEP key if it is found.
# Otherwise, it disables WEP key
# Some "configurations"
# My card device
$card = "eth0";
# access point address
$AP = "xx:xx:xx:xx:xx";
# WEP KEY
$WEP = "yyyyyyyyyyyyyy";
# Checks for the access point
open( CHECK,"iwlist $card scan | grep $AP |" );
if(<CHECK> ) {
# Provides WEP key if my access point is found
print STDERR "Configuring network with WEP key\n";
system "iwconfig $card key $WEP";
} else {
# Configures wireless network without key if my access point is not found
print STDERR "Configuring network without WEP\n";
system "iwconfig $card key off";
}
# Asks for IP (I have DHCP in both places).
print STDERR "Pumping for an IP\n";
system "pump -i $card";
Similar Threads
-
By Mr.Joecat in forum Hardware & Booting
Replies: 3
Last Post: 12-07-2005, 04:19 PM
-
By bspachman in forum Hardware & Booting
Replies: 1
Last Post: 02-10-2004, 09:40 PM
-
By rushworld in forum General Support
Replies: 8
Last Post: 10-14-2003, 03:23 PM
-
By Eavy in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 09-27-2003, 04:23 PM
-
By newman in forum Laptops
Replies: 0
Last Post: 07-20-2003, 11:49 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W
$2512.18
CSE-118 Supermicro 1U 3x GPU Server 2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails
$450.03
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU
$399.04
R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS
$1180.24
Dell PowerEdge T130 Server 2012R2 Standard, RAID1 (2) 1TB NLSAS HD, 32GB RAM
$199.00
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$275.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w
$289.99
HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$355.00