-
Senior Member
registered user
I put a shortcut in my autostart folder to run a script that activates my modem at startup. Then when I want to get on the internet, I click on a desktop KPPP icon that connects and launches Mozilla. Here's the script:
#!/bin/bash
# Save this file as modem.sh in /home/knoppix
# Set up a persistent home with Knoppix so files will stay put
# Make a shortcut called Modem on the desktop or in your autostart folder.
# In the shortcut under Execute put: sudo -s /modem.sh
# Check Run in terminal and it will do that as root
# Run this Modem shortcut to dial-up if your modem has not been activated.
# These lines, will be run as root, and activate the Lucent winmodem:
cd /home/knoppix/tmp
mknod /dev/ttyLT0 c 62 64
chmod a+rw /dev/ttyLT0
ln -sf /dev/ttyLT0 /dev/modem
insmod -f lt_modem.o
insmod -f lt_serial.o
# This line changes the user to knoppix, starts KPPP, and connects to MyISP.
# Uncomment the line if you want to use it:
# su knoppix -c 'kppp -c MyISP'
# --------------------------
# Make a desktop shortcut called KPPP. In the shortcut
# Under Execute put: kppp -c MyISP
# Where "MyISP" is the name of your dial-up account
# Run this KPPP shortcut to dial-up if your modem has already been activated.
# Set KPPP to redial on disconnect if pppd always dies on the first try.
# In KPPP, under your account, execute, on connect, put: mozilla
# If you want Mozilla to launch automatically on connect.
I use a custom autostart folder so that Konqueror doesn't launch every time I start Knoppix:
Right click on the desktop, click configure desktop, then paths, to make the change. I use: /home/knoppix/autostart. Then move showindex.desktop out and put the modem shortcut in.
Similar Threads
-
By \/\/inblowz in forum Hardware & Booting
Replies: 4
Last Post: 12-18-2004, 09:52 PM
-
By Skytos in forum Hardware & Booting
Replies: 1
Last Post: 10-07-2004, 12:00 AM
-
By Naosuke in forum Networking
Replies: 10
Last Post: 09-24-2004, 12:38 AM
-
By stoneguy in forum Networking
Replies: 0
Last Post: 07-01-2004, 01:57 PM
-
By knoppix_br in forum Hardware & Booting
Replies: 1
Last Post: 05-24-2003, 11:50 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

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS
$200.00

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11
$450.00

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA
$374.48

HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro
$349.00

HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS
$140.00

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00