mailto: blog -at- heyrick -dot- eu

Navi: Previous entry Display calendar Next entry
Switch to desktop version

FYI! Last read at 10:30 on 2024/05/03.

Beagle Linux fail

Remember I said my keyboard was eccentric and I was lucky it worked with RISC OS? Well... Here's how well it works on a Beagle xM with Angstrom Linux. I have highlighted to relevant part:
Keyboard driver fail

Speaking of Beagle Angstrom, it's crap. I say this because I made a fresh image of the v4.25 distribution from CircuitCo and tweaked the uEnv file so it would display on my video grabber. And this is what I keep getting:

Beagle Angstrom Linux SUCKS
This isn't something I have played with and inadvertently broken; this is a fresh install downloaded, un7zipped, and written to SD card. The only modification was to tell the video driver to output PAL to S-video. Since this configuration stuff is "broken", it is not possible to configure the machine.
Don't people test this stuff before it is released? Jeez..

 

Why is my Firefox so slow?

I got fed up of how lethargic my Firefox was acting, so I decided to dump my active tabs to bookmarks and then close them all. BarTab meant that I could have a tab without having its content loaded, but even so it was a drag on the system.

Yeah.
This must be some sort of record...

Many tabs in Firefox

 

Configuring static IP on RISC OS

If you use DHCP to have RISC OS auto-configure itself, things "just work". However if you wish to use static IP and set it all up manually, this is more fiddly. Not because RISC OS is more complicated, but simply because the parts to set up aren't in one neat and tidy place like under Windows.

Symptom:

Here is a step-by-step explanation of setting up static IP on a RaspberryPi. It's the same for a Beagle, and Pandaboard, and so forth.

The first two things you will need to know:

  1. The IP address of your broadband router. This is most likely 192.168.0.1 or 192.168.1.1.
    The two addresses above are links to those addresses. If you are using a working computer connected to your broadband router, click on them in turn (opens in a new tab/window). Chances are one will fail and one will present you with some sort of login prompt for the router. Remember which worked.
  2. The IP address you wish to assign to the RISC OS machine. The first three digits of the IP address must match the router (i.e. 192.168.1.something). The final digit can be (almost) anything except 0, 255, and a number already in use. I say "almost" in quotes as some routers enforce limits on the available range of addresses, typically allowing addresses between 10 and 60. Pick a number that is less likely to have already been assigned, such as 15 or 24, if in doubt.

In these examples, my router is 192.168.1.1
and my RaspberryPi will be 192.168.1.15.

Part zero - don't be a dummy

The final step of setting up networking requires RISC OS to reboot. Close any open and active files, quit programs that leave files open. Don't be a dummy and lose unsaved data!

Part zero-point-five - don't expect the moon on a stick

RISC OS does not (currently?) support IPv6.
Like a lot of stuff.
For this to work you'll need an IPv4 system.
Given the players in the market have buried their heads in the sand for years and years, and a number of people are a little preturbed by every computer being uniquely addressable on the Internet (as opposed to a local network hiding behind the IP address of the router), it stands to reason that support for IPv6 has been the slowest damn thing ever seen in tech circles. So chances are you'll be plugging RISC OS into an IPv4 system for a while yet...

Part one - getting to the network configuration

If you can't see the iconbar, move stuff out of the way (or press Shift-F12) so you can see it. The rightmost icon is TaskManager. The actual icon depends upon which version of RISC OS you are running (i.e. an Acorn for old RISC OS, a 3D box thing for RISC OS 4/Select, a blue blob for RISC OS 5 on the Iyonix and maybe the Beagleboard, a Raspberry on the RaspberryPi...). Click the middle mouse button over the rightmost icon to call up the menu.
TaskManager menu

There should be an option named "Configure...". Click the left mouse button on this option.

A window with lots of configuration options will open:
RISC OS system configuration
What you actually see will depend upon your version of RISC OS.

You are looking for the "Network" entry. Under older versions of RISC OS, it looked like a yellow/red/blue map of London with a spanner superimposed; while RISC OS 4/Select went for a jigsaw pieces motif. In any case, it should say "Network" below the icon. Click on it. [note: if I don't specify, you click once with the left mouse button]

The Network configuration window will appear:

Network configuration

Under RISC OS 5, there are little green indicators to show which parts of the networking are active. If either AUN or Access are lit up, click on the icon and when the setup window for that component appears, click on the "Enable" tickbox to make it unticked. Then click on the 'Set' button.
This shouldn't be necessary for the default is for these to not be enabled.

Now click on "Internet" and another window will appear:

Internet configuration

If all of these things are grey and cannot be clicked upon, ensure "Enable TCP/IP Protocol Suite" is ticked.

Part two - assigning an IP address

Click on the "Interfaces" icon on the left. After a mo, a window will open:
Interfaces settings
Ensure that the appropriate interface is selected. This will be Slot-something on older machines and USB-something on newer machines (Beagle, Pi, etc).

Once you have ticked the interface, click on the "Configure..." button to the right of the interface name.

Yet another window will open. You can see now why this process isn't complicated, just way more fiddly than it ought to be.

Setting IP address

First, tick on the "manually" option in the middle of the window to tell RISC OS that you will be supplying the settings.

Next, enter the desired TCP/IP address for the machine. As I said, I will be using 192.168.1.15; what you use depends upon your system.
You can leave the netmask as "default".

Once you have done this, click on Set.

Then Close the Interfaces window.

Part three - knowing where to send stuff

It is all good and proper for your machine to have an IP address, but when it comes to communicating with machines, your computer will only be able to talk to those directly connected to the same router and on the same network. Not so useful if you want to yack in a forum.
This is where the concept of a "gateway" comes in. This is a machine tasked with knowing where "the outside world" is and how to sent and receive data from everywhere else. It just so happens that you have such a machine - your ADSL router.
By telling RISC OS that the 'gateway' is your connection to the world, all network communication to non-local systems will be forwarded to this gateway for handling. It is like, if you want to fly someplace you don't just rise into the air, you travel to the airport and go in groups on airplanes.

Back in the "Internet configuration", click on "Routing"...

Internet configuration

A window will appear:

Setting up routing
Enter into the box the address of your ADSL router (here, mine is 192.168.1.1). Do not tick the two options (setting that up is outside of the scope of this document). Click on Set.

Part four - looking up names of stuff

The final part of the possible is instructing RISC OS to use a nameserver. You see, the Internet works on numbers. maps.google.com is 173.194.45.65; this website is 199.231.189.124; Facebook is 31.13.80.7; and Rakuten is 203.190.63.180. But people aren't going to remember stuff like that. We want names. We want to look at bbc.co.uk and not attempt to remember what its IP address is. Furthermore, with virtual servers (HeyRick is one), one host machine can serve dozens or hundreds of websites - the name is what tells them apart.
The first step in all of this is to take the name and turn it into an address. This needs a name server, known as a "DNS Resolver" - that means Domain Name Services Resolver which is a fancy way of saying "the thing that turns twitter.com into an IP address".

Back in the "Internet configuration" again, this time click on "Host names"...

Internet configuration

Yet another window will appear:

Setting the name server

Ensure the "Try name server to" option is ticked. Then, under Primary nameserver enter the address of your ADSL router. Most routers contain a name server. How this works is your computer will ask the router, which will ask the provider. Then when it gets a reply it will remember this so the next time your computer asks, it will know and not need to contact the provider. This means less work for the provider's systems and faster times for you. If the provider is smart, they might even have the router preload a small subset of common domain names (Facebook, eBay, Google, etc) every couple of days so the information is already available in the router.

In any case, we need to tell RISC OS how to access this information, which is the point of this step. Click on Set.

Part five - finishing up

Close the "Internet configuration" window. If the "Interfaces" window is still open, that can be closed too.

In the "Network configuration" window, click on Save:

Saving the configuration

RISC OS will need to restart the machine. It probably shouldn't need to if you are only altering existing TCP/IP settings; but you might have done something with AUN or Access (which modifies a number of things internally); so the configuration tool takes the safest approach and just restarts the computer.

Restart?

Obviously, click on Restart now.

This isn't a big hardship. After all, this is RISC OS. On a RaspberryPi it will have restarted and be back in the Desktop in under thirty seconds.

Part six - using it

All that remains is to load up NetSurf and do stuff!
Websites in RISC OS with NetSurf

 

It's all gone horribly wrong!!!

Something else? Ask in the comments below.
Note, however, that this information is for beginners - so questions about complex routing, setting up VPNs, multiple nameservers and Hosts files etc will probably not be answered here. Likewise, pedantic technical corrections of trivia that doesn't change the basis of the above text will also be skipped over.
However, if you followed the instructions above and it still doesn't work - I might be able to help (though I'd still recommend the ROOL forums, people smarter than me hang out there!).

 

Your comments:

R benj, 12th April 2021, 09:27
Thankyou

Add a comment (v0.11) [help?]
Your name:

 
Your email (optional):

 
Validation:
Please type 28963 backwards.

 
Your comment:

 

Navi: Previous entry Display calendar Next entry
Switch to desktop version

Search:

See the rest of HeyRick :-)