Results 1 to 7 of 7

Thread: How to make HD install behave like Knoppix

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Location
    Dhahran, Saudi Arabia
    Posts
    6

    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.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    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'

  3. #3
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    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 !

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    @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/?

  5. #5
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    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>

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: c123

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

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202

    Re: How to make HD install behave like Knoppix

    Quote 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

  1. Can't make configuration file work after install
    By gradnite in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 09-03-2012, 04:22 AM
  2. how to make a persistent DHCP client after a HD install
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-18-2004, 03:16 AM
  3. How can I make Knoppix NOT to install a package?
    By eric2 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-30-2004, 12:41 AM
  4. How Do I make a Boot Floppy from HD install?
    By bongski55 in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-26-2003, 09:07 AM
  5. 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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W

$899.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections picture

RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections

$63.00