Enabling a TFTP Server on Solaris 10
I needed to configure a Solaris 10 system as a
TFTP server.
When I checked to see if the system was already functioning as a TFTP server,
I found it was not.
# svcs | grep tftp
#
I removed the "#" from the following line in /etc/inetd.conf:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
I then ran inetdconv
.
# inetconv
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
inetconv: Notice: Service manifest for 100083/1 already generated as /var/svc/manifest/network/rpc/100083_1-rpc_tcp.xml, skipped
inetconv: Notice: Service manifest for 100068/2-5 already generated as /var/svc/manifest/network/rpc/100068_2-5-rpc_udp.xml, skipped
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done
When I then checked to ensure the system was functioning as a TFTP server,
I found it was functioning as one.
# netstat -a | grep tftp
*.tftp Idle
*.tftp Idle
# svcs | grep tftp
online 16:21:53 svc:/network/tftp/udp6:default
# netstat -a | grep tftp
*.tftp Idle
*.tftp Idle
You can disable the TFTP service with inetadm -d svc:/network/tftp/udp6
and re-enable it with inetadm -e svc:/network/tftp/udp6
.
Create a /tftpboot
directory where files can be placed to be
downloaded by tftp clients.
# mkdir /tftpboot
For further information on the TFTP service, you can use the man command
man tftpd
.
References:
-
Enabling tftpd in Solaris 10
By Lasse Østerild
October 11, 2005
unixzone.dk
[/os/unix/solaris]
permanent link
PayPal Phising Site at bourke.pcpro.net.au
Someone forwarded a
phishing
email message to me this morning that was an attempt to garner PayPal userids
and passwords as well as personal information, including a credit card number
from unsuspecting PayPal users.
The
message attempted to trick PayPal users to going to a spoofed PayPal
website to confirm the addition of an email address to a user's PayPal
account. In reality, the link in the message would take the victim to
http://sv1.melbhosting.com.au/%7Eforcast/index.html, which would
redirect him to
http://bourke.pcpro.net.au/icons/.pay/pal/index.html. There he
would see a website mimicking the PayPal site where he would be prompted for
his PayPal userid and password. If he entered a userid and password, he
would see a form asking for personal information, including a credit card
number.
I reported the spoofed site at 10:33 A.M. using PayPal's
Contact Us -
Protections/Privacy/Security - Report Fake Site/Spoof form. I also reported
the site to the Phishing Incident
Reporting and Termination (PIRT) Squad at 10:48 A.M. At 11:15 A.M. the
webpage to which the link pointed,
http://sv1.melbhosting.com.au/%7Eforcast/index.html was removed from
the webserver on which it resided, resulting in a "HTTP 404 - File not found"
message, but the spoofed PayPal site at bourke.pcpro.net.au was still
accessible.
[/security/scams/phishing/paypal]
permanent link
Wake On LAN using mc-wol
I needed to share an Outlook user's calendar with someone else in her
office. I had expected to be able to remotely log into her system to
configure Outlook to share her calendar. But when I attempted to log
into her system at 9:30 P.M., I found it was inaccessible. I then remembered
that she always turns her system off when she leaves. I didn't want to spend
1/2 driving to her office to make a change I could complete in less than 10
minutes and then have to spend another 1/2 hour driving back home.
Fortunately, I had selected the option to have Dell preconfigure the system
for Wake On Lan (WOL)
support in the BIOS
when her company purchased the system. Wake On Lan support allows one to
restart a computer that has been shut down by sending a "Magic Packet" to
the Media Access Control
(MAC) address of the network card in a computer to "wakeup" the computer,
i.e. power on and boot up the computer.
This can occur when the system is
still providing power to the Ethernet controller in the system. Most
modern computers with a network connection provided through the motherboard
support this functionality. The functionality is also present in motherboards
that support the
PCI 2.2 standard when a PCI 2.2 network adapter is used. In other cases,
when WOL support is provided through the motherboard, the motherboard must have
a WAKEUP-LINK header onboard and connected to the network card via a special
3-pin cable. Wake on LAN must also be enabled in the Power Management section
of the systems's BIOS. It may also be necessary to configure the computer to
reserve power for the network card when the system is shut down.
To wake a shut down system, you need a program that can send the Magic Packet
to the MAC address of the target system. You also need to know the MAC address
of the target system. In this case I use Norton Ghost to backup the systems on
the LAN and Norton Ghost provided me with the MAC address.
There are quite a few free programs that provide WOL capabilities. You can find
many listed in the Wikipedia
Wake-on-Lan article on the topic. I used the free utility provided by
MATCODE at
http://www.matcode.com/wol.htm.
To use the MATCODe WOL utility, mc-wol.exe, you simply download the utility
and then run it with mc-wol <MAC Address>
, e.g.
as shown below.
C:\Program Files\Network\WOL>mc-wol 00:13:72:3B:4A:B6
WakeOnLAN v1.0 Copyright (c)2001, MATCODE Software.
Web: http://www.matcode.com
Author: Vitaly Evseenko, ve@matcode.com
Sending "Magic Packet" to 00:13:72:3b:4a:b6 - Success!
Once I ran the program, I was able to ping the IP address of the target
system shortly afterwards to verify the system was back up.
If you need to obtain the MAC address of a system you can ping it and then
look in the ARP table
on the system from which you ran the ping, with arp -a
to find the
relevant entry. Or you can use the MATCODE, MCGETMAC.EXE
utility available from the same URL as the MC-WOL.EXE
utility
or from the links listed below.
C:\Program Files\Network\WOL>mcgetmac 192.168.0.15
Get MAC v1.0 Copyright (c)2001, MATCODE Software.
Web: http://www.matcode.com
Author: Vitaly Evseenko, ve@matcode.com
Name: js.example.com
IP address: 192.168.0.15
Ethernet MAC address: 00:13:72:3B:4A:B6
Press any key ...
References:
-
Wake-On-Lan
MATCODE
-
Wake-on-LAN
Wikipedia
-
MAC address
Wikipedia
-
Conventional PCI 2.2
PCI-SIG
[/network/wol]
permanent link
Vi Reference
I found a useful vi reference page at
http://www.ungerhu.com/jxh/vi.html, which I have copied
here. The page was created
by
Maarten Litmaath and is maintained by
James Hu. I found it a useful reference
for substitution patterns, though it also has a lot of other vi information.
If you want to replace "Life's but a walking" with "Life's but a walking
shadow" you can use
:s/Life's but a walking/& shadow/
. The ampersand, in the
pattern to be substituted in place of the prior one,
references the previously found match.
[/software/editors/vi]
permanent link