Ubuntu Networking :: T1 Line Not Working

Sep 27, 2010

My T1 connection is like this: T1 line -- cisco router -- regular router -- LAN. It works fine. Now I want to replace the regular router with an Ubuntu router, which has two nic card, eth0 to Internet and eth1 to LAN. I tested the Ubuntu router on a DSL connection and it worked perfectly. But when I connected the cable from the cisco router to eth0 in the Ubuntu router, eth0 was not up. It didn't show the ip address of eth0 as I tried "ifconfig". I assigned the static ip from the ISP to eth0, also made it acquire ip automatically. Neither worked. eth0 still got no ip address. Did I miss something?

View 9 Replies


ADVERTISEMENT

Ubuntu Networking :: Get Wireless WPA2 Working With Command Line Only?

Jul 6, 2011

I wanted to run a little media server in my house, shared with my laptop only, so I could free up space on my laptop drive. I took one of my Linux boxes out of my render farm and loaded up a minimal install, command line only of Ubuntu Lucid from the mini ISO (32 bit). I had to plug in a lan cable to install, but I wanted to move my box back out to the "farm" that doesn't have wired access to my intranet.

After much research, trial and error, this is what worked for me. My wireless card uses an Atheros AR5001X+ chip, and it works with the desktop cd out of the box. I found the "just works" desktop install uses the ath5k driver that is now included in Lucid, but I'm not using a desktop or window manager. I haven't tried this on server version, if you do, let others know what you had to install to get it to work.

The things I do tell you about, I instruct you as if you are a newbie, however I have left out some things that users should know or be able to lookup easily, like if you want a static address instead of using dhcp. You may not need all of the steps or you may have to do more research and troubleshooting.

Find your wireless card (you may need to lookup what to do if it is not recognized at all)List all pci devices, only show network devices (-v verbose, -vv very verbose): >>lspci -vv | grep Network List all hardware (| less lets you pause at each page - arrow keys, page down/up to navigate, q to quit) >>lshw | less

[Code]...

View 1 Replies View Related

General :: Working Off-line With Ubuntu?

Mar 21, 2011

I'm new at working with Linux based systems.Currently I'm working with a Dell notebook that I installed Ubuntu10.10 on and am having real trouble grasping the method needed to install software and media codecs on it off line.I'm sure it can't be as diffucult as I'm making it and I'm going back to the Ubuntu support center to seek help there.I Love the fact of Linux being open and available for everyone and really want to learn it inside and out.I'm good with MS and like how the system takes over installations of apps,dosen't Linux work in a simular fashion?Or do I need to use a command line interface to acomplish installing the software that I need to build the system I want.I feel really stupid asking,I know I'm missing something obvious that's right in front of me,I'm also going to look into a DOS tutorial.

View 2 Replies View Related

Ubuntu :: Bashrc Ls Alias Not Working Same As Command Line

Oct 25, 2010

I have a few alias' in my .bashrc to save some typing, mostly ls type variants.

I wanted to add the following:
- give me a Long listing of ALL in Reverse Time order, (don't recurse directory)

Code:

But it doesn't work anything like the way it does on the command line

When I use the alias I get the following:

Code:

No Time, No Permissions, no group/owner ... , Why?

View 2 Replies View Related

Programming :: Copy And Replacing Specific Line From File1 To File2 Line By Line

Mar 22, 2011

I have two files, file1.traj and file2.traj. Both these files contain identical data and the data are arranged in same format in them. The first line of both files is a comment.

At line 7843 of both files there is a cartesian coordinate X, Y and Z ( three digits ). And at line 15685 there is another three digits. The number of lines in between two cartesian coordinates are 7841. And there are few hundreds of thousands of lines in a file.

What I need to do is copy the X Y Z coordinate (three digits) from file1.traj at line 7843 and paste into file2.traj at the same line number as in file1.traj. The next line will be 15685 from file1.traj and replace at line 15685 at file2.traj. And I dont want other lines (data) in file2.traj get altered. This sequence shall be going on until the end of the file. Means copy and substitude the selected lines from file1.traj into file2.traj.

I tried to use paste command but I cant do for specified line alone.

Here i showed the data format in the file. I used the line number for clarity purpose.

Code:

View 10 Replies View Related

General :: Line Wrap In Less Not Working

Jan 21, 2010

I am having a problem with long lines when displayed in less. It is difficult to describe but I will try...

I have a text file with some lines longer that 80 characters. If I use less to view this file in an Putty terminal set to an 80 character width, some of the lines wrap. So far so good. If I now use the 'j' or 'arrow down' key to scroll down one line at a time all is ok until I encounter another long line (longer than 80 characters in my example). What I see is only the wrapped portion of the line. The first 80 characters are missing. At this point I can type a ctrl-L to refresh the window and then the long line is wrapped properly. It is only when I am scrolling one line at a time that I see this behavior.

I am not certain that this is a "less problem". However, I only notice it using less. vi works properly. more works properly. I suppose it could also be a Putty, bash or environment problem but I'm not sure.

I've played around with options to less such as -X -r -R without any luck. The systems I am connecting to area all running CentOS if that makes any difference.

View 5 Replies View Related

Hardware :: Line 6 Toneport UX2 Not Working?

Jan 9, 2011

I'm having trouble getting my Line 6 Toneport UX2 (just want to play back sound with it) to work in Debian Testing.

Code:
Uname: Linux lys 2.6.32-5-amd64 #1 SMP Fri Dec 10 15:35:08 UTC 2010 x86_64 GNU/Linux
lsusb (cutout): Bus 006 Device 002: ID 0e41:4142 Line6, Inc.

[code]....

View 1 Replies View Related

Programming :: Access A File Line By Line, And Check The Length Of Each Line.

Feb 13, 2011

I want to access a file, and check the length of every line.After, i want to check and replace all lines with length over 10 characters, with a message.Does anyone have a clue on that?

View 1 Replies View Related

Ubuntu :: Couldn't Get Line-in Audio Jack Working To Save Life

Jan 26, 2010

I actually pretty much abandoned Ubuntu a few weeks back after several weeks of not getting a couple things working properly.One of the big problems is I couldn't get my line-in audio jack working to save my life (despite working flawlessly in Windows on the same machine).I have posted about this numerous times and had no luck despite many of you good people attempting to assist.Tonight, I put a live CD of Linux Mint in my machine and noticed a few of the little problems I have with Ubuntu seemed to be "fixed" with Linux Mint.

That's when it hit me that perhaps the big difference is 32 vs. 64 bit? My Ubuntu is 64 bit but the Linux Mint I tested is 32. Does anybody think that my audio problem could be as simple as getting away from Ubuntu 64 bit?Also, can anybody tell me if there is a Terminal Services Client available for Mint? I'm sure there is but it didn't seem to be in the default install..

View 2 Replies View Related

Ubuntu :: Short Cut Keys Seem Not Ot Be Working - Ex Alt +F2 Dose Not Open A Pop Up Command Line

Apr 29, 2011

Some of my short cut keys seem not ot be working. Ex Alt +F2 dose not open a pop up command line. Also would like to add some short cuts. Like Ctrl + Alt+ Backspace for reboot. I went to the short cut app and I can add a short cut key, name it, but can't seem to figure out how to assign it a function. Didn't seem intuitive to me. I'm using the UNE version on a asus eel 1000.

View 1 Replies View Related

Fedora :: Adding A Line In Terminal To Try To Get Skype Working?

Sep 15, 2010

I was adding a line in terminal to try to get skype working and i added a line un-necessary and i need to edit the file. How do I either remove the file or edit it. It is a file in etc/yum.repos.d It says that it is read only, and i can't find how to change permissions.

View 2 Replies View Related

Programming :: Compare Two Files Line By Line And Print The Line Which Is Same?

May 30, 2011

I am trying to write a program in C which compares two files and prints the line that is equal.

Here file1.txt has

and file2.txt has

Note: file2.txt consist of only a single string where as file2.txt has multiple lines. Actually im comparing two files with md5sum values.

Here is the code but it compares only first line of files..but it should compare the whole file1..and sorry iam a beginner in C can any1 sujest some modification to this code so that..it can compare file2 with entire file1

Quote:

View 9 Replies View Related

Programming :: Insert Line Using Sed Or Awk At Line Using Line Number As Variable

Jul 25, 2011

I want to insert a line at a particular line number using sed or awk. where line number is not fixed and is in form of variable.

I want to use variable in sed or awk command.I tried something like below, but no luck.

View 7 Replies View Related

Slackware :: Get Standard PS/2 Wheel Mouse Working On The Console Command Line

Aug 13, 2010

I am trying to get my standard PS/2 Wheel mouse working on the Console command line, and seem to be having major problems getting it to work.

For the record, I am NOT talking about X, Xterm's or any Graphical Interface, my mouse wheel works fine in these environments.

I am purely concerned with getting the mouse wheel to work on the Console.

After many hours of reading forum posts about getting the wheel to work on the Console, this is what I have tried to date:

1. I have downloaded and installed every version of gpm I could find in the hope that one would utilise the wheel. (No Success).

2. I compiled and installed the latest version of gpm stable (1.20.6) to see if the wheel would work with it. (No Success).

3. I have tried setting up gpm-1.20.6 as a repeater to X, using every string I could find (msc, ms3, pnp .. etc), as well as every /dev entry in xorg.conf /dev/mouse, /dev/input/mice/, dev/gpmdata/, /dev/psaux ... etc). (No Success).

4. Created directories and configured a gpm.conf to both /etc/ and /etc/conf.d/ in the hope that gpm was looking for them there (read that in one forum or another). (No Success).

5. I then tried to find mouse wheel patches for gpm, and then downloaded the relevant version source gpm.***.tar.gz to go with these patches. Nearly every single one of the patches failed to apply (using patch -p1 >), except for one version I tried that did apply ... but then failed to make (stating that the source had a different signedness or some such thing) ??? (No Success).

6. I looked into IMwheel, but that seemed to be a purely X program that was a lazy way of writing ZAxisMapping in xorg.conf. (No Success).

So now I am stumped ... Does anyone know if if is possible to get:

a). A Wheel Mouse Patch for a recent version of gpm (1.20.6) that will actually apply, and then make?

b). A prepackaged recent version of gpm-1.20.6.tgz that has been patched to enable the wheel that I can use?

c). Any other information that may enable the mouse wheel to start working on the console.

View 6 Replies View Related

Ubuntu Networking :: Wireless Suddenly Stopped Working AND Rfkill Command Not Working

Jul 13, 2011

When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.

Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.

I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.

View 1 Replies View Related

Ubuntu Networking :: Wired Internet Not Working Since Update / Wless Not Working

Jun 21, 2010

I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.

View 5 Replies View Related

Ubuntu Networking :: 10.10 Internet Working But Evolution Mail And GTalk Not Working?

Nov 17, 2010

I have a Dell Latitude D530 Laptop (500 GB HDD). Installed Windows XP and then Ubuntu 10.10 to do dual boot. everything works fine in Windows XP.In Ubuntu 10.10 I had issues connecting to Internet(Through Wirelss), I was able to rectify this issue by dsiable ipv6 from firefox about:config and setting true to network.dns.disableIPv6. After this I was able to connect to internet and browse websites from Firefox.But I am having Issues with Evolution Mail(Connection Timed Out) and Google Talk Client(Connection Timed Out).Empathy Internet Messaging gets connected fine.I was wondering if I will have to disable IPv6 System wide and hence I added the following lines to /etc/sysctl.conf

#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

[code]....

View 9 Replies View Related

Ubuntu Networking :: Network Card Working On 10.04 32bit But Not Working On 10.04 64bit!

Jul 25, 2011

I had an Ubuntu Server 32 bit installation and everything was working fine. Now that I installed Ubuntu Server 64bit on a new drive in the same machine, the ethernet card is not working!! This is insane cause when I put the hard disk with the 32bit installation back and booting from it, the ethernet card is working without any problems but in the 64bits installation it is not shown at all using "ifconfig -a"

lspci output:

Quote:

02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)

How can I check which module is being loaded in the 32bits installation to try to load it manually in the 64 bits installation?

View 3 Replies View Related

Ubuntu Networking :: Wireless Is Not Working (only Wired Connection Is Working)

Jul 18, 2011

I can connect to the internet with wired connection. The switch for the device is on but this command "sudo lshw -C network" has the following results:

#
[sudo] password for nn:
*-network
description: Network controller
product: BCM4312 802.11a/b/g

[Code]....

View 9 Replies View Related

Programming :: Programing - Reading File Line By Line Then Char By Char In Each Line

May 29, 2010

I've never programed shell scripting.

Code goes like so:

I simply want to read a file "data.txt" line by line Then char by char and add them into a result var. The file is supossed to always contain numeric values

View 8 Replies View Related

Server :: Working At The Command Line With Ubuntu Server Edition?

Jun 30, 2010

Whilst I have used GUI-based Linux distros for the last few years, I am now struggling somewhat when it comes to setting up a server from the command line. All the howto's I've read so far tell you how to set up certain things, but I don't know what I actually need to set up.Rather than asking the same questions all over again on a forum like this, and generally being a bit of a noob, I wonder if there's a resource somewhere that someone could direct me to in order to know what I need to do to set up a fileserver.

The hardware is all done, and I will probably set up a router distro like IpCop to manage the network, but I'm rather lost as to what packages I need, and how to know what the server is/isn't doing.I've used plenty of command lines in the past (ms dos, amiga dos, BASIC programming etc), just not a linux command line. All I've ever done is mount a few drives, use nmap and started x

View 1 Replies View Related

Fedora Networking :: Ping Working But Internet Not Working From Dhcp Clients

Jul 17, 2009

I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?

View 3 Replies View Related

Ubuntu Networking :: Network Is Working But Not Working?

Aug 28, 2010

OK so I set up a server yesterday and got ndiswrapper loaded on it with the appropriate driver, I edited the /etc/network/interfaces file to contact my router with it's MAC address, WEP Key, etc... So the problem is I can ping addresses like Google and Ubuntu Forums but I can't use apt-get to install or update packages. When I try sudo apt-get update I get a whole bunch of Code: W: Failed to fetch <address>Temporary Failure resolving <address>My Wireless interface is wlan0 and also I can ping my server from my other computer running Linux and my server can ping that computer too.

View 1 Replies View Related

Ubuntu Networking :: Can't Finde The Driver On Line?

Feb 12, 2010

I have bean trying to uzip and install the ndiswrappper driver for my Atheros AR5212/AR5213, well first I can not finde the driver on line, secondly I have tried to unzip the driver from the CD that came with Atheros AR5212/5213 that did not work "WDA2320.exe"plus the ndiswrapper help files are not explanatory enough for the different scenarios, thirdly I installed the ndiswrapper interface that installs on the desk top, that worked for a while then stopped altogether, I have bean working on this ,on and off for about a year,my O/S is Debian Lenny Betta -2- i386 I have attached a document coled Atheros doc pertaining to the hard ware in my P/C

View 1 Replies View Related

Ubuntu Networking :: Wireless - Connection Get Off Line

Mar 27, 2010

I have a very strange wireless problem, i have ubuntu 9.10 installed on a dual boot with a belkin pci wireless card, i have used ndiswrapper to install the windows driver, plenty of wireless connections come up, i find my own and try to connect, it asks for the password (i have double checked and this is correct), and then goes to connect, now heres the weird bit, the connection light comes up on the card as though its on the network then after about 1 minute the light goes out and ubuntu tells me it is now off line.

[Code].....

View 1 Replies View Related

Ubuntu Networking :: Ad-Hoc Works With GUI But Not Command Line

Jul 17, 2010

I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:

ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up

I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.

View 1 Replies View Related

Ubuntu Networking :: Can't Connect To A Wireless Line

Sep 24, 2010

I have installed LUbuntu from a desktop cd-rom in my Toshiba Satellite Pro 4600. There is a Pentium III inside.

I have searched in the forum and found that it is a common problem, but the solutions explained either did not work in my computer or I did not understand them. Maybe together we can fix the problem.

I do not know how to connect to mi wi-fi conection. In the menu of the Network conections, I choose the label "wireless", then click to "add", give a name to the conection, write the ESSID, and the password (WPA) and click "Ok" to save. So my conection appears on the list o Wireless connections.

But now, what should I do? Nothing (as a wi-fi icon) appears on the bar (there is just the cabled connection icon, because I am conected with the ethernet cable). If I click on the cabled connection icon there is no wireless option available.

View 9 Replies View Related

Ubuntu Networking :: Connecting Wirelessly Via Command Line?

May 11, 2010

For reasons that are not terribly interesting I decided it would be a great idea to remove and re-install the xserver-xorg package. Which proved to be a much larger mistake than I imagined it would be. I purged the package, and then restarted.Naturally I need to have an internet connection to use apt-get to reinstall xserver-xorg, which is where my idea falls apart.I followed the directions in the How To: Manual Network Configuration. However, after I enter the command "sudo dhclient wlan1" I get the line "wmaster0: unknown hardware address type 801" twice prior to the output that the above link shows. Then I just get DHCPDISCOVER messages until I get a "No DHCPOFFERS received. No working leases in persistent database - sleeping."

I'm connecting with WEP to a router that I know works (because I'm using it to type this on my laptop right now) and I know that the wireless adapter(RTL8187) is installed properly because it automatically connected to my network when I had xserver-xorg still installed.I'm running ubuntu 9.04.I've searched for a few hours and I'm no closer to resolving the issue.

View 9 Replies View Related

Ubuntu Networking :: Connecting To Wireless Via Command Line

Jun 21, 2010

I have setup my wireless card via ndiswrapper and I can see that if I perform an iwconfig that the card is wlan0. I have attempted to connect with the router but I can't get any connection.I know the password is: ########## (10 digits long) but for the life of me I can't get it to work via command line.

View 2 Replies View Related

Ubuntu Networking :: Speed Test By Command Line?

Jun 26, 2010

I'm using a remote dedicated server running ubuntu server edition, and I have no idea what the upload/download speeds are.Is there a reliable method to test these speeds via the command line?

View 2 Replies View Related







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