-
Senior Member
registered user
I auto run a setup script for my modem this way:
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 sunburnt in forum Tips and Tricks
Replies: 5
Last Post: 05-28-2005, 05:39 PM
-
By ghetto_blaster in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-16-2005, 09:09 AM
-
By Mr.45er in forum General Support
Replies: 2
Last Post: 10-06-2004, 01:21 AM
-
By Zero_1984 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 09-28-2004, 04:57 AM
-
By paradox87 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-16-2004, 11:38 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

Qty.286 Samsung 16gb 2rx4 Pc3L 12800R Ram Memory M393B2G70BH0-YK0 Oracle 7018701
$4999.99

Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated
$85.00

Samsung Galaxy Tab S6 Lite SM-P615 128 GB, Wi-Fi + 4G, 10.4 in - Oxford Gray
$150.00

Samsung Galaxy Tab A 8.4" 2020 32GB Wi-Fi+ 4G Verizon Unlocked SM-T307U ~Grade B
$49.99

Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A
$22.02

SAMSUNG 256GB SSD PM871b
$25.00

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G
$155.00

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem
$161.49

Samsung 870 EVO 1TB, 2.5 inch Internal SSD - MZ-77E1T0B/AM
$150.00