occam

  • Archive
  • RSS
  • Ask me anything

wlan poem ssid

Get a wlan router you can controll via ssh / telnet. Find the way to change the SSID via command line. On my box i used:

$ wl ssid $name

Get your favorite song lyrics or poem into a text file. Clean it from any special chars and empty lines. Format every line to a width of 32 chars (maximal lenght of a SSID).

$ php -r 'echo wordwrap(file_get_contents("filename.txt"),32);' > filename32.txt
$ ssh root@router
$ vi /tmp/poem

copy / paste the “filename32.txt” into it and save it

$ vi /tmp/poem.sh
#!/bin/sh
while /bin/true
 do
  while read line
   do 
    wl ssid "$line"; 
    sleep 10; 
   done < /tmp/poem
 done
$ sh /tmp/poem.sh &

Enjoy the poem with a WLAN scanner.

    • #hacker
  • 2 years ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

About

Avatar

some of them are from me

my bla on privacy wars

all the photos (as mosaic)

and wonderful movies

my favorite movies on IMDB

contact eMail

connect on

soup.io - flickr - Vimeo - YouTube - Auteurs - last.fm - formspring.me - robo.to - livejournal -

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

CC. Effector Theme by Carlo Franco.

Powered by Tumblr