Skip to content

Instantly share code, notes, and snippets.

@wilsonkhlam
wilsonkhlam / wvdiald.pl
Created February 3, 2022 14:40 — forked from kumarasinghe/wvdiald.pl
wvdial daemon : Auto Connect USB modems / Mobile Broadbands on Linux / Raspberry Pi
#!/usr/bin/perl -l
# wvdiald.pl - Auto connect USB modems on Linux
# Author: naveenk <dndkumarasnghe@gmail.com>
# License: MIT
# Make sure you have wvdial and usb-modeswitch installed. Fill the connection parameters below.
# Run this as root. Add "perl /path/to/wvdiald.pl" to /etc/rc.local to make this a service
######################### CHANGE AS NEEDED ################################
# connection parameters