-
How to make HD install behave like Knoppix
With the latest 2-16 version out my laptops wireless card is working!.... Can't tell you how tickled I am now that I can use my laptop over my wireless home network. Everything seems to be working the external 40 GB harddrive with all its partitions is recognized even with my memory stick plugged in. Getting very excited now. Finally did a harddrive install to really get my hands dirty. After a bit of playing I got a nice clean install to the HD but its not quite as nice as the live CD. The network card isn't loaded and I can't see my external usb drive. Any hints\tips for this noobie? I'd really like to get the wireless working first so I don't have to keep rebooting to live cd look for help on the web.
-
Senior Member
registered user
Run 'netcardconfig' and 'wlcardconfig'(IIRC as root).
I always have to run 'netcardconfig' (refusing DHCP, then accepting all defaults) before I can run 'wlcardconfig'. I then run 'netcardconfig' again, this time saying yes to DHCP so all lan parameters are configured automatically.
HTH
edit - corrected 'wlanconfig' to 'wlcardconfig'
-
Senior Member
registered user
Ahh
Yep,
What you need to do is edit the modules.conf (or more accurately the file that modules.conf is generated from) and then run update-modules
This loads the modules when you boot instead of having to keep running the netcardconfig.
Then you need to set the wlan stuff more permanently, I think this might be best achieved from the knoppix.sh !
-
Senior Member
registered user
@Gowator
Can you give a bit more detail - this (automatically configuring my wireless PCMCIA card at boot) is something I've wanted to fix for a while, but haven't had the time to look into...
The modules.conf stuff is if the modules needed for the card (orinoco_cs for me IIRC) don't load at boot, and is an alternative to doing 'modprobe'? This part is currently working for me :)) (although I'm interested in learning how modules are loaded at boot time, and how to get/stop a module from loading by editing modules.conf).
As for setting the parameters, are you saying that the best way to configure network and wireless parameters in using a script that I place in /etc/init.d/, creating a symbolic link to it in /etc/rc2.d/?
-
Senior Member
registered user
c123
Hey,
I'm pretty new to knoppix and debian so whatever I tell you theirs likely to be a better way. (Dont want to be the blind leading the blind!)
Im at work and I don't have a knoppix Cd at the moment ...
(stephen actually answered this question for me which is why I know.)
If you "man update-modules" it tells you the name of the file that is used in deb to make the modules.conf.
(In RH based systems this doesn't exist)
the Deb way is way better...but its new to me.
What I did is do a lsmod BEFORE i got it working. (i.e. lsmod > modules.before)
Then use the netcardconfig - this is really smart and if it finds a wifi card it automatically starts wlcardconfig. (I was VERY IMPRESSED by this!)
Presuming it all works you can go ahead and do another lsmod (lsmod>modules.after) then find all the modules that were loaded.
Then work out and they go in the file which is refered to by man update-modules
Then you run update-modules and it rebuilds it and next time you start up you'll have the modules loaded.
If you wanna auto set the Wifi params then a simple shell script... (the exact commands escape me right now so this is just an example)
#!/usr/bin/bash
# set the wlan stuff for bootup
wlanconfig eth0 essid = "mywifi"
wlanconfig eth0 channel = "11"
wlanconfig eth0 ..... etc
stick this in /etc/init.d and call it something like setwlan
then in rc3.d (depending where you wanna start it) create a symlink
S80setwlan -> ../init.d/setwlan (use ln -s)
repeat in rc4.d and rc5.d
S80 is a guess, it needs to be AFTER networking....i.e a bigger number else eth0 won't exist!
If I remember you also need to create an alias in the modules
something like
alias eth0 <name of driver>
-
Senior Member
registered user
Re: c123

Originally Posted by
gowator
stick this in /etc/init.d and call it something like setwlan
then in rc3.d (depending where you wanna start it) create a symlink
S80setwlan -> ../init.d/setwlan (use ln -s)
repeat in rc4.d and rc5.d
S80 is a guess, it needs to be AFTER networking....i.e a bigger number else eth0 won't exist!
Easier method as root
Code:
update-rc.d setwlan start 80 2 3 4 5 . stop 80 0 1 6 .
This will set up the links for you automatically using the Debian way to do it, if you use -n (update-rc.d -n setwlan ....) in the line then you can simulate the action before doing it.
-
Senior Member
registered user
Re: How to make HD install behave like Knoppix

Originally Posted by
NitroCrzy
With the latest 2-16 version out my laptops wireless card is working!.... Can't tell you how tickled I am now that I can use my laptop over my wireless home network. Everything seems to be working the external 40 GB harddrive with all its partitions is recognized even with my memory stick plugged in. Getting very excited now. Finally did a harddrive install to really get my hands dirty. After a bit of playing I got a nice clean install to the HD but its not quite as nice as the live CD. The network card isn't loaded and I can't see my external usb drive. Any hints\tips for this noobie? I'd really like to get the wireless working first so I don't have to keep rebooting to live cd look for help on the web.

With knoppix-installer there are two ways to install in HD
The Knoppix mode
The "old" Debian mode
If you choose Knoppix mode it is much like running linux from live-cd
If you choose Debian mode, then your installation is a normal linux instalation.
Similar Threads
-
By gradnite in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 09-03-2012, 04:22 AM
-
By lothario in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-18-2004, 03:16 AM
-
By eric2 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-30-2004, 12:41 AM
-
By bongski55 in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 07-26-2003, 09:07 AM
-
By aay in forum The Lounge
Replies: 6
Last Post: 05-23-2003, 07:27 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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99