Networking :: Terminal Command To Print Current Network?

Jan 24, 2011

I'm hoping this is the right category. Is there a terminal command to display what network you're currently connected to?
Example:
My home network's name is (in this example) "home".When connected to it, I want a command that, when run, would give me the output 'home'. Does such a command exist?

View 1 Replies


ADVERTISEMENT

Fedora Networking :: Set Up Samba Using Command Line Terminal / Network Does Not Work

Nov 29, 2010

I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.

If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.

View 2 Replies View Related

Ubuntu :: Command That Shows Current Network Usage?

May 27, 2010

is there a command that shows current network usage, similar to the way htop shows memory and processor usage?

View 3 Replies View Related

Networking :: Print AND Real-time Output Of PING Command ?

May 3, 2011

Let's say I am pinging a host, and want to output to a file each reply and its timestamp of when this started.

I know that it can be done with a loop and a shell script. Something like this

DO

echo "$(date)" >> results.txt ###includes the time and outputs results to txt###
ping -c 4 HOST >> results.txt ###a total of 4 pings at a rate of 1 per second###

REPEAT UNTIL USER PRESSES CTRL-C

Now, my first issue is that I need to be able to see results real-time as well.

Is there a way one can print to BOTH a screen and output? If one uses the ">>" command, it is essentially sending everything to the file. Running another ping command in parallel is not an option.

View 3 Replies View Related

Ubuntu :: Network - What Command To Type Into The Terminal To See The Dns Information

Apr 15, 2010

I dont have under system->admin networking, but i do have netwroking tools (I have the latest version of ubuntu) and I am wondering - what command can i type in to the terminal to see the dns information? also can I install "network" for ubuntu?

View 1 Replies View Related

Fedora Networking :: Network Print Setup

Jul 14, 2011

Fedora 15/Gnome3, latest updates as of 4pm EST 7/14/11.Trying to connect to a Canon inkjet printer, which is physically on a WindowsXP box via usb cable. Printer is made shared on the Windows machine.On the F15 machine, I can connect to all shared folders on the WinXP box via SMB.But trying to set up the printer connection from WinXP box to F15 is not working. I use Printing, then Network Printer, then enter the WinXP IP, then choose Find Network Printer. Note there's no CUPS or SMB printer choice - only AppSocket/JetDirect, IP, HTTPS/ and LPD. After a few minutes, I'm prompted to enter username and p/w for the WinXP machine, and the printer is located. Connection is verified.Connection is shown as Windows via SAMBA. I click OK and move to driver installation.

View 3 Replies View Related

Networking :: Network Printing - Can't Print From Vista

Nov 7, 2010

I'm running Mint 9 as my main network and my wifes Acer Aspire 5610 running Windows vista. My problem is that I can't print from vista. It prints a test page just fine but when I tell it to actually print a document, the status says: "Access denied, unable to connect" I have 2 printers connected and they installed fine in Vista one is a HP LaserJet 2100 series and the other is an HP Photosmart C5280. Like i said, they both print the teat page just fine.

View 9 Replies View Related

Networking :: Print With Use Of Different User On Network Printer

Mar 25, 2010

The company I work for decided to use printers on which one should log in with there MS Windows password. After logging in, one could print there documents. This is ok for the MS windows office PC's, but not for the Linux based systems.The Linux user accounts have a different name than the MS Windows accounts.Because of this, it is not possible to print with that Linux user account. I can create a Linux user account with the same username as the MS Windows account, so that all users can use that account if they want to print something on the network printers. They can use it like:$ ssh <username equal to Windows>@<hostname> "oowriter <path>/<file>"

Now they can print a file from oowriter to the network printer.So my question is, is it possible to use the account name that is equal to the MS windows account name by default?

example
MS Windows account name = milk
Linux account name = schuurs
Linux account "milk" is created for printing by all users.

user works with account "schuurs" and prints with user "milk" automatically without the use of the ssh string mentioned before.

View 2 Replies View Related

Networking :: Vista Printer Will Not Print From Network

Sep 8, 2009

I'm using Slackware64 13.0 on a laptop. I've set up the network printer which lives on a Windows Vista machine (not my choice) in the family room. I am able to send print jobs to the printer. That part works fine, but the printer does not print. It simply stacks up print jobs with "error - printing" in the status of the first print job.I think I understand what's happening. I'm sending the print jobs to the print server as "Guest" and I have no guest account activated on the vista machine. I'm sitting here racking my brain (ie googling my goddamn fingers into stumps) trying to figure out how to send the jobs to the print server as indubitableness.

For the goddamn life of me I can't figure out what I need to do to send these print jobs as a specific user. I've tried adding "valid users = indubitableness" to smb.conf and I've tried using the -U flag when running lpadmin to add the printer to my system in the first place.The configuration wizard for windows doesn't appear to have any options to enable guest access or to add a specific remote location and/or user to the allow list.I'm at a loss and I'm losing my goddamn mind.

View 3 Replies View Related

Slackware :: Can't Print From Any Non KDE Application On Current

Aug 2, 2010

Using current 32 bit I'm unable to print anything outside of KDE. If I print something from Konqueror or Koffice for instance, my printer shows up in the dialog and everything prints fine. However if I use openoffice or abiword, etc then my only option is to "print to file" It is a samba shared printer that is attached to a 13.1 server, but I don't know that that makes a difference.

View 2 Replies View Related

Ubuntu Networking :: Intel Network Card Up/Down On Current 10.04?

May 18, 2010

I am running Lucid Lynx and have only noticed this problem in the past couple weeks. Before Lucid I ran Jaunty & Karmic on this same box, although I installed Lucid as a clean install. My problem is that up to 5 or 6 times per minute my networking card drops its connection and then has its connection re-established. I have an integrated Intel 82566DC gigabit card on an Intel Motherboard DG35EC connected to a 10/100 network and am running the 64-bit version of Lucid. I've done some considerable searching on this problem and although I've seen many references to similar problems dating back several years, I have found none that seem to have any solutions that do anything for me. I never had this problem under any prior version of Linux on this box (all prior versions were also 64-bit).

In short, this block of messages repeats in my messages log:

May 18 20:18:50 mark-desktop kernel: [10121.062129] e1000e: eth0 NIC Link is Down May 18 20:18:52 mark-desktop kernel: [10122.730873] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX May 18 20:18:52 mark-desktop kernel: [10122.730876] 0000:00:19.0: eth0: 10/100 speed: disabling TSO

Most of the time I don't even see that the connection has gone down. Sonetimes everything seems to be operating fine for a half-hour or more, although it could be dropping out and coming back really quickly all of the time. Sometimes it goes out for 10 seconds.Sometimes it goes out for many minutes and I can get networking back by killing disabling networking and then re-enabling it. It's quite annoying.

I'm sorry if I'm duplicating an existing issue on this forum, but I can't find this exact problem anywhere. Does anyone have any clever ideas about how to fix this?

View 5 Replies View Related

Ubuntu Networking :: Unable To Print On New Office Network

Nov 30, 2010

I live in Japan and am trying to print to a network printer (Richo Ipsio C411 PS). Couldn't find the ppd in the foomatic database. At my previous school, I had no problems printing to the printers on the network once I found the ppd. A few months ago, I transfered to a new site. Unfortunately, when I send a print job on the network here, the printer just gives a Japanese message that says "command error." I've tried other printers on the network (all different models of the Ipsio).

I went to the Japanese Ricoh website and it recommended a generic printer ppd. I downloaded that, but it didn't work. Then I got the ppd off of the windows driver CD and tried that. Again, no success. I have no idea what I'm doing (obvious, but should be noted) or how to get this started. I also tried 2 versions of Ubuntu -- I'm running 8.04 and 10.04.

Attached are copies of the ppd files if it helps.

View 8 Replies View Related

Networking :: Can't Connect CUPS To A USB LPR Network Print Server / Get It?

Nov 18, 2010

I just recently bought a WinStar USB LPR Network Print Server so that I could connect my printer to my network so all the machines on my network could print, and everything would be OS independent. The problem I'm having is that I can't get CUPS to connect to the printer. It either never prints anything, saying that the printer is not connected, or saying that LPR is spooling the job, but it never completes. I've been configuring it as a network printer in CUPS, and trying all the different configuration options to no avail. The print server is located on http://192.168.1.103 and is pingable. The print server I have is this one:

WinStars Networking USB LPR Print Server

What is the correct way to set up a print server like this so I can print to it?

View 6 Replies View Related

Fedora Networking :: Network Manager - Terminating Current Connection

Sep 19, 2009

I have installed recently the Fedora 8 in a computer and during installation it was set a static IP with the netmask and gateway. At first it worked well, but after some boots the connection begins to fail. It seems that the network-manager withdraws the static IP and tries
to get connection via DHCP. Below is the /var/log/messages file during the failed connection:

Code:
Sep 19 10:36:53 canario avahi-daemon[1695]: Interface eth0.IPv4 no longer relevant for mDNS.
Sep 19 10:36:53 canario avahi-daemon[1695]: Withdrawing address record for fe80::20d:87ff:fe0c:355f on eth0.
Sep 19 10:36:53 canario NetworkManager: <info> SWITCH: terminating current connection 'Auto Ethernet (eth0)' because it's no longer valid.
Sep 19 10:36:53 canario NetworkManager: <info> Deactivating device eth0.
Sep 19 10:37:07 canario system-config-network[2195]: -+ //etc/modprobe.conf #011eth0 alias sis900 .....

View 5 Replies View Related

Networking :: Monitor Current Network Traffic To A Give Host?

Oct 29, 2009

is there a utility with which I can get the current traffice towards a given host, for example;

command 87.255.33.32
22000

View 1 Replies View Related

Debian Installation :: No Network-Manager - Pull Up The Terminal And Enter A Command To Start?

Sep 1, 2011

I downloaded Debian Stable last night, and everything appear to go smoothly. Today, I booted up the new OS to try it out for the first time. As I was exploring a few of the features, I decided to pull up a web browser. No internet connection.

No big deal, I thought, as I searched around for a way to connect wirelessly. I couldn't find a way to do so. I consulted one of my more Linux savvy friends, who advised me to pull up the terminal and enter a command to start the network-manager. According to the terminal, no such file currently exists on my system.

This is a bit of a conundrum for me, since I am on my university campus with no ethernet cord to attempt a direct connection. Is there any way to get the network-manager onto my computer? Also, did I mess up somewhere in the installation, or did someone not package the file with CD1 for some unknown reason?

View 14 Replies View Related

Ubuntu Networking :: Can't Send Print Jobs To Network Printer

Jul 18, 2011

I have a Brother MFC-295CN network printer. Been having a heck of a time trying to get this thing working since I installed Ubuntu 11.04 yesterday. I've been away from Linux for some time and am new at using it. Downloaded and installed using the Software Center:

mfc295cnlpr-1.1.2.i386-1.deb
mfc295cncupswrapper-1.1.2-2.i386.deb
brscan3-0.2.11-4.i386.deb
brscan-skey-0.2.1-3.i386.deb

Was able to send a test print and it came out fine. But when I tried to send a print job - nothing. And, the scanner won't work either.

My computer is a Gateway GT5464. It's dual booted with Windows 7.

View 1 Replies View Related

Ubuntu :: Print Current Working Directory In Title Of Xterm?

Jan 29, 2011

In any case what I'm asking it how can I set PWD into my xTerm title bar. I do NOT want pwd at my command prompt because it would make it too long.

View 2 Replies View Related

Software :: Kde-program To Show Current Print Jobs In Aptosid?

Oct 4, 2010

im searching a kde programm to show current print jobs. I've installed aptosid (actual version).I've searched the repository and I only found printer-applet which does not run in aptosid - I got the following error messages:

Code:
Traceback (most recent call last):
File "/usr/bin/printer-applet", line 1161, in <module>

[code]...

View 2 Replies View Related

Programming :: Print The Current Time Of My System With A Batch File ?

Dec 25, 2010

How can I print the current time of my system with a batch file. My os is ubuntu.

View 4 Replies View Related

Slackware :: Current: Ghostscript 9.02 Upgrade Result In Missing Print Filter

Jun 25, 2011

After upgrade to ghostscript 9.02 from current all print jobs fail with: 'There is a missing print filter for printer HP_F2480'

The printer is an All-inone deskjet F2480 and the cups printer queue has been
setup with the hplip tools. Before the upgrade it was 'working' with quite a few bugs...eg image not printed correct, multipage printing garbage. (page for page printing was the workaround)

Do I need to remove the printer and define it again?

View 2 Replies View Related

Ubuntu :: Lpr Command- And Man -t (bash Command - Print Both Sides Of The Paper Using A Printer?

Mar 29, 2010

I just recently learned about the wonderful little lpr command- and using man -t (bash command) to beautifully print man pages for reference- but is there a way to print both sides of the paper using a printer so equipped?

View 2 Replies View Related

Debian :: Print Command ( Print A File ) In Debian Through Comand Prompt ?

May 5, 2009

I have a debian system installed on my pc . I have just saved a text file on my desktop . Please let me know how can i print the file through comand prompt ? I need to learn the printing the file thru comamnd line .

View 1 Replies View Related

Ubuntu Networking :: Connected Via Usb File Goes To Print Que But Will Not Print ?

Aug 14, 2010

Just installed drivers for Lexmark pro200 - S500 series. However although it is recognised by the system and has a tick by its name, And tells me it is connected via usb file goes to print que but will not print. Also tells me it is Printing - localhost! is this correct?.

View 1 Replies View Related

Ubuntu Networking :: Domain - Unable To Resolve Host Whenever Try To Use The Sudo Command In The Terminal

Nov 4, 2010

Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo

steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....

View 1 Replies View Related

Ubuntu Networking :: Connect To Wireless Network Via Terminal?

Dec 28, 2010

I wonder how we can to connect a wireless network via terminal if we use a minimal *buntu in command line, without network manager. I've found some old threads in ubuntuforums but I still can't figure out.

View 6 Replies View Related

Ubuntu Networking :: Terminal Command/script To Upload A File To An Ftp Server Without User Input?

Apr 26, 2011

I've got used to using the ftp command from the terminal, which is useful, especially with macros. But it requires user input, and what I want to do now is upload a specific file to a server, once I've finished working with it every day. It's the same file every day. II would like to be able to do this semi-automatically: I just give the command and it connects to the server and uploads the file. (I will probably want to encrypt the file before uploading it.)I don't know how I could use ftp without any user input: I want it to be automatic.

View 5 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Debian :: Installing Network Printer - Able To Print To One Of The Network Printers From My Desktop

May 10, 2010

Total Newb here, sorry. I am pseudo-IT at work and have set up a desktop with Debian 5 (accidentally overwrote Windows in the process, but there you go). We are set up with network printers here (all Windows), and I was wondering how to go about being able to print to one of the network printers from my Linux desktop. Can I even connect to the Windows network with this desktop (it is hooked up)? Understand, I do NOT want to screw up anything on the network - they won't let me play anymore if I do. If I download the Linux driver, what do I do next?

View 2 Replies View Related

Ubuntu :: Show Current Commands In Terminal?

Jan 6, 2010

I was wondering if there was a way to show all current actions I am doing in a terminal window? For example if I left a terminal window open on one of my desktops, could I make it display everything I am doing so that when I receive some general error in a program, I could jump over and get some more details. I could also use it to see what commands are actually run when I do certain things.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved