Paul Sutton

network

WICD Curses

Donate using Liberapay

wicd-curses

wicd-curses is a console program that allows you to connect to wireless wifi networks. I found out about this after chatting on IRC with a few other users on freenode and mentioned I was having issues connecting to wifi from the command line.

This can be installed using apt install wicd-curses. A man page can be viewed with man wicd-curses.

Wicd-curses

As I am using Debian then the package information can be found here.

The above screenshot is from my desktop which does not have or even need wifi connection. But on my netbook this should show available wifi networks, and allow the one you want to be selected. You will probably need your wifi credentials e.g password etc to connect further.

Another step to seeing if I can actually use a computer directly from the command line without the need for a gui. I need to try and configure alpine to now send e-mail and I may be nearly there. However this isn’t really essential to my needs anyway.

Please feel free to discuss further on Mastodon

#console,#wicd-curses,#network,#wireless,#YearOfTheFediverse,

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Site Index

Donate using Liberapay

  1. Click on a link.
  2. Scroll to bottom of page.
    • Any posts / pages within this blog will be displayed.

A

#Astronify #Adenine #AminoAcid #Astronomy #AralBalkan #AstroBiology #AstroChemistry #apg #Apt #Aptitude #Africa #Activism #Analytics #Api #Arduino #AMES #arXiv #Academy #Abuse #Afghanistan

B

#Blog #BioChemistry #Biology #bash #better #BigBluButton #BibTeX #Browser #Beamer #Bullseye #Buster #Bookworm

C

#Cytosine #Conditions #Cryptpad #Cosmology #Chemistry #Console #Chat #Conference #Code #Coding #CodeClub #Cornwall #Covid19 #Corona #CoronaVirus #CreativeCommons #Commons #Chrome #Chromium #Charity #Creative #Education #CPD #cpd #CreativeEducation #CTAN

D

#dna #DNA #Disroot #disroot #Decentralised #Decentralized #dcglug #dclug #Debian #Donate #Donation #Debconf #BASH #Devon #Digital #DRM #Diaspora #DiodeZone #Development #Data #Detox #Docker #DeepLearning #Documentation

E

#emacs #Editing #Events #EventManagement #Employment #Email #Education #Exploration, #Ethics #Elements #Exploration #EveryonesInvited

F

#Flockingbird #Framablog #FramaBlog #Fediverse #Federated #Firefox #Fosdem #Freedom #FreeSoftware #Foundation #FSF #FSFE #Friendica #Framework #FreeBSD #FalconsEye #FOSSandCrafts #FutureLearn

G

#GoatCounter #Guanine #Greek #Gimp #Galaxy #GoDot #GNU #GNOME #GUI #Gamma #Ghostreply #GPL #GraphicsMagick #gm #GoAccess #gold #GettingStarted #Git #GitLab #Gitlab #GDPR #Galculator #Games #Engine

H

#Hubble #Hexchat #Hack #Hacking #Hardware #Hosting #htop

I

#information #Inkscape #Image #ImageManipulation #IRC #Index #Invidious

J

#JamesWebb #JoeEditor #Jitsi #Jit.si

K

#kstars #Kanban #Kenya #KDE #KeepingChildrenSafeinEducation, #KCSIE

L

#Linux #LinuxMint #LibreOffice #LiberaPay #LibrePlanet #Lecture #Learning #LibreOfficeWriter #LibreOfficeCalc #LibreOfficeImpres #LibreOfficeDraw #LibreOfficeGettingStarted #LaTeX #LXDE #LGPL #Lynx #Librem #Libre #LibreLounge

M

#Mastodon #Meetings #Management #Mobilizon #Meeting #Matomo #Map #Mapscii #Mercury #mercury #mining #Matrix #Moon #Mars #Manganese #Materials

N

#Nextcloud #Nebula #NetHack #Nano #Nucleobases #network #NGINX #NaCl

O

#OpenUniversity #OpenLearn #OU #Online #Overleaf #OwnCloud #OpenStreetMap #OpenData #Open #Overleaf

P

#Physics #Podcast #Payment #Password #Public #Paypal #Photo #Photograph #Photos #Photographs #Python #Python3 #Programming #PixelFed #PeerTube #PowderToy #Pleroma #Planet #PDF #Package #pinebook #pinephone #Purism #Plausible #ProtoSchool #PeriodicTable #Paper #Privacy

Q

R

#rna #RNA #Rights #RocksAndDiamonds #Recovery #RadioAstronomy #Research #RedBubble

S

#Science #Scratch #Scratch2 #Scratch3 #smallweb #Sitejs #Space #Stars #Stellarium #Stripe #Security #stsci #Seagl #Social #SocialHub #SDTJ #SouthDevonTechJam #Solarus #Synaptic #Schools #Solid #Shynet #Scismic #ScienceDaily #Stickers #Symmetry #Salt #SodiumChloride

T

#terms #Telescope #TheOpenUniversity #Terminal #Talk #Thunderbird #Torbay #TeX #Topic #Thunar #Thymine #tailings #Top #Tilde #TextEditor #Toot #Translation #Trojans #TorbayTrojans

U

#Uracil #Umami #UniverseOfLearning

V

#Vaccine #VokoScreen #VLC #Volunteering #Volunteer #VultureNethack #vultureseye #Virgo

W

#Website #Work #wireless #wicd #wayland #weatherinfo #Wormhole

X

#Xournal #Xchat #XFCE #XFCE4 #xray #XMPP #xorg

Y

#YearOfTheFediverse

Z

#Zoo

I joined Mastodon social network last year. I am now reposting this guide to signing up and getting started.

Firstly you need to go to join mastodon where you will be presented with the following:-

mastodon1

Clicking on Get Started actually takes further down the page to:-

mastodon2

Where you can select from one of the many instances available, your choice may be influenced by:-

  • Geographical location
  • Interests
  • Number of users on a particular instance

Or some other reason.

I decided to go for quto.org as this is a STEM related instance. So clicking on the signup link.

signupscr

Filled in the credentials. After which I am asked to confirm. You will be asked to agree to some terms and conditions too.

confirm

Once confirmed you are taken to a set of 3 intro pages:

confirm

confirm

confirm

Then you are presented with

confirm

Where you can now set up your profile etc.

— Finding people to follow.

Enter their fediverse id in to the search box.

search

Usually this takes the form of

@username@instancename

You can follow me on the above qoto.org server by clicking this link.

In order for you to see items from my blog in your feed you need to take the following step in your profile settings.

Which is pretty easy to do, clearly this gives you a lot of control over what is then fed in to your feed.

Conclusion

Very easy sign up process, which is great, it looks like this instance also supports inline $\LaTeX$ which is cool too. I have now subscribed to this blog from mastodon.

Not quite ready to #deletetwitter yet, I have some contacts. Compared to the sign-up process on more old fashioned social media this is a breeze.

tags

#social,#network,#fediverse,#mastodon,#freedom,#privacy,#federation,#deletefacebook,#deletetwitter

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

IRC bot development

I have been working on some more projects around IRC chat bots. I decided to try and integrate a Magic 8 ball project so that an IRC bot would give a random response, chosen from a pre- defined set within the code (can be changed) when the bot is sent an instruction in my IRC channel.

ircbot

This project builds on some of the code covered in my Minecraft Pi bot project. Mostly the base code from the Linux Voice article.

The code is currently being tested in ##zleap on Freenode.

At the moment magic8 can be sent the following commands:-

  • !umame – returns output of uname -a
  • !uptime – returms system uptime
  • !help – displays list of options
  • !botexit – bot quits irc channel,
  • !magic8 – returns random text
  • !ping – returns pong (used to check the bot is working, left in for legacy
  • !web – returns my own web address (this website) but can be changed
  • !sdtj – returns web address for the South Devon Tech Jam

Notes

uname and uptime are Linux / Unix commands, it is therefore assumed you are running on a GNU / Linux system.

I have created a welcome message from the bot, so when it joins it says hello, also says goodbye if !botexit is sent.

Todo

  • Make the code Python 3
  • Add more options
  • Keep it tidy

Help and Contribute

Feel free to fork the project and make improvements and further customization. Perhaps discuss further on IRC or via social media e.g Mastodon.

Resources

#python, #development, #irc, #application, #bot, #magic8, #network,#sockets #irc, #project,#github, #chat, #responses, #magic8

A few years ago, Linux Voice published a really simple IRC bot project in the magazine. I took this and managed to get it to connect to a minecraft Pi game and I could use IRC to send instructions to the game.

In the screenshot below the bot has received an instruction to execute uname -a and the output is directed to the game screen.

mc-irc-bot-thingy

To get all this to work you need:-

  • An IRC client
  • A raspberry pi which should be running Minecraft Pi and the python program, once the game has started the bot should connect.

You also need to connect to either:-

  • An existing IRC server or
  • Your own irc server, which can be another Raspberry Pi on the same network running an IRC server.

note You need to ask if it is Ok to connect bots to IRC servers.

In my code it is connecting to a Raspberry Pi (original model) running an IRC server.

It does work, but there is probably potential here for expansion and improvement.

Resources

#python, #development, #irc, #application, #minecraft, #network,#sockets #irc, #project,#abandonware,#github

Have fun.

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Wicd-curses

From man page:

DESCRIPTION

wicd-curses is a curses-based network controller that uses the Wired/Wireless Internet Connection Daemon (wicd) to control your network connections. It is suitable to run in terminal multiplexers like screen.

It is designed to imitate the GTK-based wicd-client(1) as much as possible, and uses the Urwid (http://excess.org/urwid) console widget library to vastly simplify development.

This man page only documents the current status of wicd-curses. This may/may not be the most up-to-date document.

Wicd

#linux, #network, #wireless, #wicd, #wicd-curses, #connection.

Mastodon

mastodon logo

Over the past few months, the social network Mastodon, has seen a big increase in the number of new users joining.

Mostly people from networks Twitter, unhappy, mostly with censorship. In late 2019 there was a big migration from users in India.

Unlike with current mainstream (or should we just say old fashioned) social media. Mastodon is decentralised, so what does this mean?

In essence, there is no central control, just a development model. Mastodon is a network made up on independently owned server instances. These can all communicate with each other, thanks to a protocol called Activity Pub.

Mastodon, forms part of what is called the Fediverse. This numerous other social media instances such as Friendica ( which I am on), that also communicate with each other. The clever part is that the different social networks can communicate with each other.

With the Fediverse, privacy is important, you won't find:

  • User tracking
  • Tracking of Likes and shares
  • Data collection
  • Data sale, abuse and misuse of personal information
  • Suggestions of friends based on interest
  • Advertising

The fediverse, is what the community make it. Users post content, others, who find it interesting will comment, and contribute to the conversation.

During the UK general election campaign, the mainstream news media was taken over by election news. Social media played a big part in campaigning as politicians tried to convince the electorate they were the people to vote for.

Politics has not caught up yet. Not sure if that is a good or bad thing.

You can find topics of interest by searching for tags, which accompany posts.

If you think it is time to #DeleteFacebook or #DeleteTwitter then feel free to come over to a better way of doing things. There are alternatives to other services too, such as Google, Youtube, Instagram. All these alternatives federated so content can be shared on the Fediverse too.

References

#mastodon, #social, #network, #migration, #exodus, #decentralised, #privacy,

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)