Networking

The Netgear Open Source Router [Stuff We Like]

The Netgear Open Source Router is aimed specifically at running third-party, open-source firmwares like previously mentioned Tomato or DD-WRT. We've covered installing these firmwares on supported...

Source: Lifehacker

How-To: Set up a LAN gateway with DHCP, Dynamic DNS and iptables on Debian Etch

Linux is a perfect platform to act as a router/gateway.

In this tutorial, I will explain how to set up a Linux box to operate as a network router. The box will provide the following services:

  • DHCP server to provide the ip addresses to the machines in the LAN
  • DNS server to resolve domain names
  • Gateway with IP tables to give access to the Internet.
  • Firewall with IP tables.

The resulting machine will have quite a small footprint: about 600M, and except if your network is intensively used, a low spec computer can be recycled to do the job.

As the machine is going to operate as a router/firewall

read more

How-To: copy files over the network and preserve file permissions and informations with ssh and rsync

When copying files over the network, the files informations can be modified.

When using cp, one can avoid this issue by using the -a which will do the copy in archive mode, meaning that it will keep the links, preserve mode, ownership and timestamps and the copy is recursive.

the solution to this over the network is rsync alongside with ssh.

read more

How-To: Intel Wireless 4965 AGN with Ad-Hoc network + WEP

The Intel wireless card 4965 AGN does not work properly on ad-hoc networks since hardy and kernel 2.6.24 or around, network-manager can't get it to use the mode ad-hoc and a standard configuration like:

$ sudo iwconfig wlan0 essid myessid mode ad-hoc channel X key s:mykey13charss
$ sudo dhclient wlan0

will fail to get an ip except a long battle at dhclient'ing around.

I managed to get a process to get things working faster.

read more

Who's talking to whom?

One way to understand how your system works is to look at which programs talk to other programs.
Here's a graph showing all the processes on my system and their sockets:

Graph of socket connections

read more

Source: ROX Desktop -

BSDCan 2008: Stream Control Transmission Protocol

Randall Stewart of Cisco Systems gave a talk titled SCTP, what it is and how to use it, discussing the Stream Control Transmission Protocol (SCTP). A paper that was displayed on the overhead projecter before the talk began summarized:

"Integrated into FreeBSD 7.0 -- first standardized by the Internet Engineering Task force (IETF) in October of 2000, in RFC 2960 and later updated by RFC 4960. SCTP is a message oriented protocol providing reliable end to end communication between two peers in an IP network."

Randall explained that SCTP is an alternative protocol to TCP, UDP. To describe SCTP, he suggested you start with TCP features, including: reliable retransmission, congestion control, flow control, connection oriented, and selective acknowledgements. You then add to it more features, including: "association" 4-way handshake, framing and ordered service, multistreaming, multihoming, and reachability.

read more

Top 10 Memory Hacks [Lifehacker Top 10]

Writing things down, on paper or on-screen, is the best way to make sure you remember important info and tasks, but sometimes you've got to rely on your plain old brain to keep essential data sorted...

Source: Lifehacker

How To: Broadband Card Setup on SLED 10 SP1

Many customers have asked about this set of steps, and it’s finally possible to use Broadband cards from all three major vendors on SLED 10 SP1 due to some awesome driver work and the efforts of Greg KH and others.

Setting Up the Cards

  1. Here are the steps needed to setup most broadband cards that are available in the Unites States from AT&T, Verizon and Sprint:
  2. Open a terminal session and login as root
    Insert the broadband card in your laptop
    Wait a few seconds and type dmesg in the terminal session.

Verifying the Card is Detected

  1. The messages below are from a Cingular Option GT Max card - yours should show something different. What we are looking for is if the card gets detected as a USB device or something different and does it load a drivers. Mines loads the Nozomi driver and maps to /dev/noz0. Most other cards map to /dev/ttyUSB0. Check in /dev directory to see if the device gets created.pccard: CardBus card inserted into slot 0

Note: The output should show similar to the below.

QLogic Ships Virtual HBA Technology for SLES

(Not sure how we missed this one, but I think it’s worth noting…)

From the press release,

SALT LAKE CITY, March 20, 2008 (PRIME NEWSWIRE) — Novell BrainShare 2008 — QLogic Corp. (Nasdaq:QLGC), a leader in networking for storage and high performance computing (HPC), today announced that it is the first HBA vendor to ship production ready N_Port ID Virtualization (NPIV) solution for a shipping Linux distribution. Enterprise Linux customers can now get NPIV-capable Fibre Channel HBAs for SUSE Linux Enterprise Server 10 Service Pack 1 (SP1), the latest Linux platform from Novell that features significant enhancements in virtualization, high performance computing, security, interoperability and system management. QLogic(r) market-leading 2400 series HBAs provide hardware-assist features that enable dynamic provisioning and flexible usage of HBA resources, helping IT managers to extend SAN best practices into virtualized data centers.

How Do You Make Conferences Worth the Trip and Time? [Ask The Readers]

We all know that networking can be vitally important, especially for freelancers and those with a bit of salesmanship to their jobs, but gigantic conferences like SXSW Interactive or O'Reilly...

Source: Lifehacker

Review: HP’s Media Vault 2100 (Linux)

From the article:

Why, in the midst of a major Windows Home Server push, would HP introduce a little Linux-based NAS at half the price? And why would HP make the $300 Media Vault mv2120 so full featured and easy that its $600-and-up MediaSmart Servers look
A) too bulky
B) too expensive
C) too overloaded
D) all of the above?

Is HP telling Microsoft there’s no need for Windows Home Server, especially in light of its recent troubles? Or is HP saying that WHS is nice, but it’d be nicer if it was actually priced as an accessory? Whether the new Media Vault is a lurch away from Microsoft’s gravitational pull, or whether it’s a placeholder until Redmond can come up with a formula for $300 WHS boxes, it’s a pretty cool little machine.

Four Good Choices for Your Next IDS

From the article:

If you have only a single computer, then it’s possible for you to spend your days giving it careful manual scrutiny for mischiefs and problems. Perhaps not entirely desirable, but possible. But in the real world we need good tools to monitor and warn us of mischiefs, so we can actually go outside and have a life every so often. Intrusion detection is one of those gnarly jobs that can make you paranoid and nervous — it seems the more you study it, the more difficult, scary, and unreliable it appears. But it’s really not that bad, and Linux admins have a number of powerful tools to choose from. The best tactic is a layered approach that combines the oldies but goodies, like Snort and iptables, add some newfangled tools like psad and AppArmor or SELinux, throw in some nice analysis tools, and you’re darn near state-of-the-art.

Read More.

Five Quick Searches That Turn Firefox's Address Bar into a Network Command Line [Firefox]

On Monday we covered how to ping any server from the Firefox address bar with a quick search bookmark. If your fingers Ctrl+L faster than they launch a terminal window, there are four more quick...

Source: Lifehacker

openSUSE Support Forums Announcement

From the announcement:

Announcing the official openSUSE Forums

In order to provide a better service to the existing openSUSE Community and to our new users, we’re pleased to announce that suseforums.net, suselinuxsupport.de and the openSUSE support forums at forums.novell.com (the three largest English speaking dedicated SUSE forums) are joining forces to merge into the new official openSUSE Forums at http://forums.opensuse.org .

Behind the scenes, a project team consisting of Novell employees, openSUSE Community members, and existing forums’ staff have been working on this project since the beginning of 2008. The new infrastructure will be hosted by Novell to ensure the highest possible quality of service.

“Simple,” open-ness, customization

CNet reports that some students from Edith Cowan University in Australia have created a Linux live CD that creates a data forensics tool that will help police catch the bad guys. That’s cool!I think it’s safe to say that the open nature of the Linux platform definitely appealed to the authors here, especially considering the customizations that they undertook… The application is called “Simple” (Simple Image Preview Live Environment) but trying to do this in the proprietary software world would be anything but!

The operating system has had some features removed so that investigators can view data without affecting the host machine.

“We stripped out a large amount of functionality because we want to maintain the integrity of data collected, so we removed all network support and the ability to write to disk. Also, if for some reason a disk is writeable, the system will halt automatically,” he added.