new ubuntu laptop

Download

To install Notepadqq from Ubuntu, simply run the following commands in a terminal:

sudo add-apt-repository ppa:notepadqq-team/notepadqq
sudo apt-get update
sudo apt-get install notepadqq

install filezilla

apt-get install openssh-server

nano /etc/ssh/sshd_config
change
PermitRootLogin prohibit-password
to
PermitRootLogin yes

service ssh restart

set default text editor in filezilla /usr/bin/notepadqq

create file 12d1:1f01 in /etc/usb_modeswitch.d
content:
#TargetVendor=0x12d1
#TargetProductList=”14db,14dc”
#HuaweiNewMode=1
# replace everything below with above if it doesnt work….
# Huawei E353 (3.se)
TargetVendor= 0x12d1
TargetProduct= 0x1001
MessageContent=”55534243123456780000000000000011063000000100010000000000000000″
NoDriverLoading=0

check that lsusb shows the modem

apt-get install gammu
mkdir -p /var/log/gammu /var/spool/gammu/{inbox,outbox,sent,error}
chown www-data:www-data -R /var/spool/gammu/*
gammu -f /var/log/gammulog identify

create gammu-smsdrc
nano /etc/gammu-smsdrc
content:
[gammu]
port = /dev/ttyUSB0
connection = at9600
logfile = /var/log/gammu/gammu.log
logformat = textall

[smsd]
Service = files
InboxPath = /var/spool/gammu/inbox/
OutboxPath = /var/spool/gammu/outbox/
SentSMSPath = /var/spool/gammu/sent/
ErrorSMSPath = /var/spool/gammu/error/
InboxFormat = unicode
OutboxFormat = unicode
TransmitFormat = auto
debugLevel = 1
LogFile = /var/log/gammu/smsd.log
DeliveryReport = sms
DeliveryReportDelay = 7200
CheckSecurity = 0

apt-get install gammu-smsd

/etc/init.d/gammu-smsd start
nano /etc/rc.local
Add /etc/init.d/gammu-smsd start before exit 0

may need to delete files in /var/crash/* to prevent error message repeating on bootup

hostname triton.leeds11.comxxx

wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh

Leave a Reply