Go to advanced search

by gdt
Tue Mar 04, 2014 12:13 pm
Forum: Networking and servers
Topic: Ad-Hoc Ubuntu Laptop to Pi
Replies: 2
Views: 1149

Re: Ad-Hoc Ubuntu Laptop to Pi

OS-wise the Linux distributions are all pretty good. Raspbian is probably the best choice simply because of its slow rate of change makes for less maintenance in an embedded style project. Wireless links have these considerations. (1) What hardware -- typically a USB dongle -- to use. (2) If to use ...
by gdt
Mon Feb 03, 2014 5:28 am
Forum: Networking and servers
Topic: Best approach for controlling many RPis over the internet
Replies: 4
Views: 1289

Re: Best approach for controlling many RPis over the interne

Probably the simplest way is to use one of the many REST services programs. For example, http://blog.webspecies.co.uk/2011-06-15/restful-web-services-with-python-the-easy-way.html On the client side you can use something as simple as a web browser, or even "wget". You protect access to that by runni...
by gdt
Mon Feb 03, 2014 5:19 am
Forum: Networking and servers
Topic: Raspberry as serial device server
Replies: 7
Views: 18067

Re: Raspberry as serial device server

You might want to look at Conserver. It's trivial to set up their "console" program as the program to be run when a ssh session connects to a particular port. Alternatively, use Linux's USB/IP tools to make the USB item appear in the remote Windows. The Windows machines need this driver: http://sour...
by gdt
Tue Jan 14, 2014 4:20 am
Forum: Mathematica
Topic: Raspbian init script bug
Replies: 8
Views: 8961

Re: Raspbian init script bug

jojopi wrote:What issues? I just see a harmless warning.
It's harmless as long as you don't have packages which cause a unresolvable loop. For example, attempt to install both mathkernel and watchdog. One of the two services won't start.
by gdt
Tue Jan 14, 2014 4:11 am
Forum: Networking and servers
Topic: Direct Networking between RPi and Laptop in Schools
Replies: 17
Views: 3389

Re: Direct Networking between RPi and Laptop in Schools

Personally I'd enable IPv6, let the Pi automatically assign a link local address, and then announce the SSH service via Avahi. Then you can just SSH to raspberrypi.local from Windows and not worry about whatever addresses things are using. If that's too much a leap from IPv4 then you could run a DHC...
by gdt
Tue Jan 14, 2014 4:02 am
Forum: Networking and servers
Topic: harddrive just falls asleep? unable to wake it back up
Replies: 2
Views: 798

Re: harddrive just falls asleep? unable to wake it back up

Use smarttools to dump the statistics for the drive and see what has been going on. sudo smartctl -a -d sat /dev/sda Some "green" drives spin down the disk rather quickly upon a lack of use. It should come back automatically however, but perhaps Linux is timing out the drive before it is up to speed...
by gdt
Tue Jan 14, 2014 3:54 am
Forum: Networking and servers
Topic: Static ipv4 problem
Replies: 13
Views: 2751

Re: Static ipv4 problem

An alternative is to accept that your IP address will change.

Then use an external Dynamic DNS server to hold a static DNS name which resolves to the current address. External users will then refer to your services by DNS name.
by gdt
Mon Jan 13, 2014 9:29 am
Forum: Networking and servers
Topic: Is Ethernet port auto-sensing/switching?
Replies: 10
Views: 2900

Re: Is Ethernet port auto-sensing/switching?

The LAN9212 ethernet controller in the RPi supports Auto MDI-X (if you need to prove this for some reason, connect two RPis together using a standard patch lead). Note that only one of the two partners in a 100Base-TX link needs to do Auto MDI-X for the link to determine the transmit and receive pai...
by gdt
Wed Jan 08, 2014 10:53 pm
Forum: Networking and servers
Topic: Serial Console Server
Replies: 5
Views: 6319

Re: Serial Console Server

I'm not sure I'd be buying a Cisco 2511 in this day and age. If the hardware doesn't support the IOS version then you're in trouble as larger flash memory requires a new ROM. There isn't any software with a modern SSH server. A nice thing about using a RPi is that you can bring some heavier processi...
by gdt
Wed Jan 08, 2014 10:33 pm
Forum: Networking and servers
Topic: isc-dhcp-server fails to start.
Replies: 29
Views: 49631

Re: isc-dhcp-server fails to start.

Why read about it? Buy another SD card, dd your current disk to it, and then use it to install network-manager and experiment.
by gdt
Wed Jan 08, 2014 10:46 am
Forum: Networking and servers
Topic: IPv6 static IP
Replies: 21
Views: 11378

Re: IPv6 static IP

1) All IP addresses consist of two parts: the network prefix and the host addressing. The network prefix is used for routing between networks: each router has a table of networks and the egress port to be used to reach that network. If to choose to use a prefix your provider has not assigned then wh...
by gdt
Fri Jan 03, 2014 12:36 am
Forum: Networking and servers
Topic: PI as ICS with authenticated Proxy?
Replies: 1
Views: 738

Re: PI as ICS with authenticated Proxy?

Yes it is. Products you could use are "Squid" or "Apache proxy". ICS in the sense you mean is a web proxy with support for the autoconfiguration protocol and authentication against NTLM. Once you starting thinking of it that way a few Google searches will show up all the resources you need. NTLM int...
by gdt
Fri Jan 03, 2014 12:17 am
Forum: Networking and servers
Topic: Advice on home network setup
Replies: 6
Views: 2586

Re: Advice on home network setup

The wired ports on that access point will be acting as a switch (that is, C will not see unicast traffic between A and B). Remember that switches flood broadcasts out all ports. You won't find hubs sitting in any home router building in the last decade, the chipsets simply aren't available. The wire...
by gdt
Thu Jan 02, 2014 11:59 pm
Forum: Networking and servers
Topic: isc-dhcp-server fails to start.
Replies: 29
Views: 49631

Re: isc-dhcp-server fails to start.

It all breaks here "dhcpd: Not configured to listen on any interfaces!". The question is why? "iface wlan0 inet static/address 192.168.42.0/netmask 225.225.225.0" tries to set the wlan0 interface's IPv4 address to an invalid value. Remember in IPv4 addressing that the lowest address in a subnet is t...
by gdt
Sat Nov 30, 2013 10:46 am
Forum: Networking and servers
Topic: Network not working on Restart
Replies: 2
Views: 837

Re: Network not working on Restart

Delete the empty line after The 'iface eth0' statement.
by gdt
Sat Nov 30, 2013 3:41 am
Forum: Networking and servers
Topic: NetCat unable to receive file properly, through UDP.
Replies: 9
Views: 2101

Re: NetCat unable to receive file properly, through UDP.

TCP implements "pacing". That's a feature which prevents a fast machine and application from sending too quickly for a slow machine and application. Without pacing the sending host will send back-to-back UDP packets. You might lose a few of those to ethernet switch queues if the sending host is on a...
by gdt
Sat Nov 30, 2013 2:50 am
Forum: Mathematica
Topic: Raspbian init script bug
Replies: 8
Views: 8961

Raspbian init script bug

Hi folks, Not sure which bugtracker to log this against, so I'll simply record it here for reference by others. The file /etc/init.d/mathkernel doesn't contain a LSB header and this causes issues when adding or removing other daemons using update-rc.d (usually called by as part of the installation o...
by gdt
Tue Oct 01, 2013 1:31 am
Forum: Networking and servers
Topic: Post your Raspberry Pi server setup!
Replies: 114
Views: 84546

Re: Post your Raspberry Pi server setup!

1: Web, mail and DNS master for gdt.id.au . RPi Model B 512MB Raspbian, latest, modified to boot from SD card, root on hard disk 2TB USB-attached hard disk. Headless, with serial console is connected to a USB dongle. Web using Apache, IMAP mail using Postfix/Dovecot/SpamAssassin/ClamAV, DNS using BI...
by gdt
Fri Sep 27, 2013 9:45 am
Forum: Networking and servers
Topic: Help with using the Raspberry Pi to create a public AP
Replies: 5
Views: 2446

Re: Help with using the Raspberry Pi to create a public AP

There are two basic ways to implement usage limits: - run accounting sniffing traffic (lot of good programs for that) and when a IP address has used too much add a iptables rule to block that address (or more nicely, redirect all HTTP to a page explaining that they're out). - run quality of service ...
by gdt
Fri Sep 27, 2013 9:25 am
Forum: Raspbian
Topic: Missing multicast routing support
Replies: 19
Views: 7539

Re: Missing multicast routing support

I've dealt with him on some other matters via the bug system and he seems responsive and predictable. Asking for firm figures is conservative, but the RPi is a small computer so it is fair enough. I'd expect that progress on this will need the numerical results of experiments added to the bug report...
by gdt
Sat Aug 17, 2013 2:21 am
Forum: General discussion
Topic: $9.00 Arduino Board for the Pi
Replies: 16
Views: 3870

Re: $9.00 Arduino Board for the Pi

I've used the Freetronics LeoStick with the revised board RasPi model B. It plugs into the USB port. I quite like that as I don't lose I/O pins on the RasPi.
by gdt
Sat Aug 17, 2013 1:59 am
Forum: General discussion
Topic: Trigger script if device in network goes on-/offline
Replies: 7
Views: 1631

Re: Trigger script if device in network goes on-/offline

Place your scripts in the directories /etc/network/if-*.d/ These will be called by ifplugd via the ifupdown subsystem. See the documentation for Debian Wheezy ifupdown subsystem for more information. Is it normal that nobody gives a f***? No it's not. You do need to consider that you asked something...
by gdt
Sat Aug 17, 2013 1:21 am
Forum: Raspbian
Topic: Missing multicast routing support
Replies: 19
Views: 7539

Re: Missing multicast routing support

IPv6 isn't working when compiled as a module as it is blacklisted in /etc/modprobe.d/ipv6.conf Comment out all the lines in that file. It takes effect on next reboot; if you can't wait for that say "sudo modprobe ipv6". IPv6 will then work in a autoconf subnet. Upon success "dmesg" says: [ 40.520364...

Go to advanced search