User contributions for Alex
From AcrodusWiki
23 September 2024
- 12:3112:31, 23 September 2024 diff hist +1,043 N Set up SNAT for Private network internet access Created page with "This is to set up a Linux machine to provide routing and SNAT of private network to the internet. This command provides configure the machine using iptables. iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE This command can be explained in the following way: iptables: the command line utility for configuring the kernel -t nat select table "nat" for configuration of NAT rules. -A POSTROUTING Append a rule to the POSTROUTING chain (-A stands for "append"). -o..."
- 11:4911:49, 23 September 2024 diff hist +151 N Disable ssh server for password authentication Created page with "PasswordAuthentication no Match address 192.168.0.0/16 PasswordAuthentication yes Disables password authetication for sshd except for private range." current
- 11:4711:47, 23 September 2024 diff hist +115 N Quick Command to find structure definition in header files Created page with "find . -type f -name "*.h" -exec grep 'struct tvbuff' {} /dev/null \; /dev/null is to produced file name as output" current
10 September 2024
- 10:4910:49, 10 September 2024 diff hist +1,004 N Create new user on Embedded Linux without useradd tools Created page with "This is used on Linux systems without utilities such as useradd. This guide was written when configuring a Beaglebone Black after linux installation using buildroot. First go to /etc/passwd. Edit this file with vi. Example line to add 'alex:x:1010:1010:,:/home/alex:/bin.bash username:alex passwd:x meaning stored in /etc/shadow user id:1010 group id:1010 additional text field: seperate by commas, nothing added in this example shell prompt:bash #Ensure user id is uniqu..." current
3 September 2024
- 08:5808:58, 3 September 2024 diff hist −4 Set up Linux machine as wireless access point No edit summary current
- 08:5808:58, 3 September 2024 diff hist +1,556 N Set up Linux machine as wireless access point Created page with "How to configure a linux machine to operate as a wireless access point. Ensure that the hostapd package is installed on the machine, to install apt-get install hostapd. Go to the file /etc/default/hostapd and edit the line DAEMON_CONF="" with the path to the hostapd.conf file. This is advised to be put at /etc/hostapd/hostapd.conf, this file may need to be created on first use. The config file needs to include the contents shown below, obviously changed for specific u..."
30 August 2024
- 09:3509:35, 30 August 2024 diff hist −2 FFMPEG shell command to stream from RTSP and write to framebuffer No edit summary current Tag: Manual revert
- 09:3409:34, 30 August 2024 diff hist +2 FFMPEG shell command to stream from RTSP and write to framebuffer No edit summary Tag: Reverted
- 09:3309:33, 30 August 2024 diff hist −14 FFMPEG shell command to stream from RTSP and write to framebuffer No edit summary
- 09:3209:32, 30 August 2024 diff hist +1,776 N FFMPEG shell command to stream from RTSP and write to framebuffer Created page with "This was required for connecting to a CCTV camera supporting RTSP. #! /bin/bash ffmpeg -rtsp_transport tcp -i rtsp://admin:'NumptyHead1!'@192.168.1.64/streaming/channels/101 -i red_circle.png -i blue_circle.png -i green_circle.png -i yellow_circle.png \ -tune zerolatency\ -preset ultrafast\ -filter_complex "[0][1] overlay=x='if((mod(floor(n/10),4)*mod(floor(n/10)+1,4)),640,650)':y='if((mod(floor(n/10)+2,4)*mod(floor(n/10)+1,4)),10,0)'[v1];..."
- 09:2409:24, 30 August 2024 diff hist +580 N Cisco OID's for Optical Receive Power Created page with "Ensure snmp is installed. If not, install the package snmp. Run the command snmpwalk -v2c -c public [ip address]. This will return a list of OID's, filter for the string of the value you are after (ie. Gi1/1 Transmit power). Take the last number from the OID and run the command snmpget -v2c -c public [ip address] 1.3.6.1.4.1.9.9.91.1.1.1.1.4.[last number]. This will return the current value. This has only been tested for a limited number of OID's. #NOTE Ensure SNMP age..." current
15 July 2024
- 10:4610:46, 15 July 2024 diff hist +301 N Enable IP forwarding on Linux Machine Created page with "==Introduction== This guide shows how to enable ip forwarding on a Linux Machine running Debian 12 for both Ipv4 and Ipv6. ==HOW TO== Go to the file /etc/sysctl.conf. Edit the lines net.ipv4.ip_forward=0 to net.ipv4.ip_forward=1 and net.ipv6.conf.all.forwarding=0 to net.ipv6.conf.all.forwarding=1." current
- 10:3410:34, 15 July 2024 diff hist +1,431 N Configuring DNS nameservers on Linux Machine Created page with "==Introduction== This guide explains the process of configuring dns nameserver for Linux machines running Debian 12. There are several daemons/services which manage the resolv.conf file. The resolv.conf file is where a list of nameserver IP's are kept. This file can be edited manually however will can be overwritten by a service that is supposed to manage the file on our behalf. This guide assumes that network manager is disabled, as this is preferred with Debian server..." current
12 July 2024
- 13:2813:28, 12 July 2024 diff hist −3 Setting up TFTP server on Linux machine →Example
- 13:2813:28, 12 July 2024 diff hist +1 Setting up TFTP server on Linux machine →Example
- 13:2813:28, 12 July 2024 diff hist +1,199 N Setting up TFTP server on Linux machine Created page with "==Introduction== This guide explains how to set up and configure a tftp server on a linux machine using the tftpd-hpa package. ==HOW TO== ===Set up=== Ensure tftpd-hpa has been installed on the machine. This can be checked by running 'sudo apt install tftpd-hpa'. Ensure the service is active and enabled with the command 'sudo systemctl status tftpd-hpa'. To start the service run the command 'sudo systemctl start tftpd-hpa', this is not required if the service is alre..."
10 July 2024
- 15:4115:41, 10 July 2024 diff hist 0 Configure Linux machine with custom SSH client configuration →EXAMPLE current
- 15:4015:40, 10 July 2024 diff hist −9 Configure Linux machine with custom SSH client configuration →EXAMPLE
- 15:3815:38, 10 July 2024 diff hist +696 N Configure Linux machine with custom SSH client configuration Created page with "==Introduction== This guide explains how to create custom static configuration for SSH client on a Linux machine. Instead of using command line options from the terminal a custom configuration file can be created. ==HOW TO== The file /etc/ssh/ssh_config contains commented out options for an SSH client. These can be used as an example for a custom ssh config. Go into the subdirectory /etc/ssh/ssh_config.d/ and create a new file. In this file specify the ip address/host..."
- 15:2715:27, 10 July 2024 diff hist +34 Configure Linux machine for SSH with Cisco device →Example current
- 15:1215:12, 10 July 2024 diff hist −2 Configure Linux machine for SSH with Cisco device →Example
- 15:1215:12, 10 July 2024 diff hist +5 Configure Linux machine for SSH with Cisco device →Example
- 15:0215:02, 10 July 2024 diff hist 0 Configure Linux machine for SSH with Cisco device →Example
- 15:0115:01, 10 July 2024 diff hist +4 Configure Linux machine for SSH with Cisco device →Example
- 14:2114:21, 10 July 2024 diff hist −42 Configure Linux machine for SSH with Cisco device →Example
- 14:1614:16, 10 July 2024 diff hist +3 Configure Linux machine for SSH with Cisco device →Example
- 14:1514:15, 10 July 2024 diff hist −2 Configure Linux machine for SSH with Cisco device →Example
- 14:1514:15, 10 July 2024 diff hist +142 Configure Linux machine for SSH with Cisco device No edit summary
- 13:4113:41, 10 July 2024 diff hist +1,753 N Configure Linux machine for SSH with Cisco device Created page with "==Introduction== This page outlines how to configure a Linux machine for use as an SSH client with OpenSSH_9.2 for connecting to Cisco network devices over SSH. ==HOW TO== This requires configuration changes in the file /etc/ssh/ssh_config or by creating a separate configuration file in the directory /etc/ssh/ssh_config.d/. This guide will use the latter method. By creating a new file in the directory /etc/ssh/ssh_config.d/. this logically breaks up the configuration..."
9 July 2024
- 10:5910:59, 9 July 2024 diff hist −14 Main Page No edit summary current Tag: Manual revert
8 July 2024
- 19:3319:33, 8 July 2024 diff hist +250 N AcrodusWiki:About Changes to About Page current
- 19:3019:30, 8 July 2024 diff hist +112 N Main Page Update to main page