LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Ad-hoc wifi networking?????

Posted 10-21-2012 at 10:36 AM by davetesc

Each time I think I'm getting somewhere I try to do something new and realise how little I know!!!
Having found a cheap usb wifi dongle I thought it would be easy to connect my two laptops so I could just send files between the two without using a memory stick, guess again, obviously I'm missing the simplest of steps but plodding on. :-)
LQ Newbie
Posted in Uncategorized
Views 714 Comments 0 davetesc is offline
Old

Slacking with Slackware

Posted 12-01-2011 at 08:11 AM by ofaring (Debian, This That and the Other)
Updated 12-01-2011 at 08:14 AM by ofaring

Ok. I've used Debian for quite some time -- although I started with Slackware years back -- and it's been awhile since I attempted anything without a package manager!

I grabbed a copy of Slackware Disc 1 and installed a basic, console-only Slackware.

First snag...WiFi. I live in a busy neighbourhood full of students eager to grab "free" internet off a WEP-encrypted wireless router, so WPA is a must. Well, /etc/rc.d/rc.inet1.conf didn't seem very happy to play...
Member
Posted in Examples, Slackware
Views 917 Comments 0 ofaring is offline
Old

Server latency

Posted 10-27-2011 at 08:26 AM by sag47

I wanted a quick and dirty way to determine server latency on my Kubuntu machine. This just parses simple output from ping and provides only the time values.

Code:
for x in drexel.edu google.com;do echo -n "[$x]: "; ping -c 1 $x | head -n 2 | tail -n 1 | awk '{split($8,arr,"=")} END{print arr[2],$9}';done
Output
Code:
[drexel.edu]: 0.576 ms
[google.com]: 6.23 ms
You can put as many servers or IPs as you want in the for loop to get a comparison....
Senior Member
Posted in Uncategorized
Views 504 Comments 0 sag47 is offline
Old

Network usage on a single device and log diving

Posted 09-27-2011 at 02:57 PM by sag47
Updated 09-29-2011 at 08:30 AM by sag47
Tags networking

I wanted to know the received network usage on a device in kB so this one liner was produced for the desired result.
Code:
while true; do y=`ifconfig eth0 | grep RX\ bytes| sed -e 's/.*bytes\://' -e 's/\ .*//'`; sleep 1; x=`ifconfig eth0 | grep RX\ bytes| sed -e 's/.*bytes\://' -e 's/\ .*//'`; echo $(((x-y)/1024)); done
Press Ctrl+C to stop analyzing the network traffic on that device.

Here's another one liner of me looking through multiple log locations.
...
Senior Member
Posted in Uncategorized
Views 575 Comments 0 sag47 is offline
Old

Logon to Multiple Samba Servers

Posted 06-23-2011 at 03:41 AM by barani_pd

I have three Linux Servers running Samba shares in them. All are meant for different purpose. For administrative purpose and running some utilities in these servers\shares from Windows XP system, we use "net use Drive: \\ServerName\ShareName" command to map the share as a drive. During the process for each server we are to enter username and password. Is there a way by which I use my windows username and password for the logon.

Note: The Samba username and password are similar...
LQ Newbie
Posted in Uncategorized
Views 1150 Comments 0 barani_pd is offline

  



All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration