Ubuntu :: Configuring Internet From Command Line
Feb 23, 2010
I just installed a command line version of karmic to an old desktop. During installation, DHCP failed, so I attempted to configure manually (without really knowing what I'm doing) and wound up without a connection. I've been searching for solutions, but really don't understand what I need to do. A million thanks to anyone who can help me get up and running (or at least give me a push in the right direction).I can either connect the computer directly to the cable modem via USB, or directly to my wireless router via ethernet cable. I know what the ip address for my laptop (which is connected wirelessly to the router) but don't know if that would be the same for the desktop or not, and don't really know anything else.
View 3 Replies
ADVERTISEMENT
Nov 29, 2010
Would anyone be so kind as to point me to a good reference for how use the command line to configure a directory to be shared in the directory properties?I know how to do it using graphical tools such as Nautilus, Konqueror, and Gnome's shares-admin, but I'd like to know how to do with via command line, because, once you know the commands, the command line is always quicker.I guess you could say I'm looking for a command line method for sharing directories in much the same way that chmod sets permissions from the command line.
View 3 Replies
View Related
Apr 22, 2010
I have ndiswrapper installed, and have successfully installed the drivers, I have also used nm-applet (and x forwarding) to configure wireless connections. My problem is that I want to reboot and unplug my wired connection and use just my wireless connection, but when I reboot it doesn't seem to connect to my network.
is there a command line tool or an independent tool that i can launch forwarding x I can use to search for and connect to wifi networks that would also have the ability to save configuration so that when I reboot the system automatically connects to my wifi?
View 2 Replies
View Related
Jun 6, 2011
I want to connect to the internet using the command line. I'm 95% I have my wireless card installed correctly, since I'm using it right now.dhclient takes a minute or two, then finishes. It gives no output, success or failure. Then I open up Firefox and I'm not connected to the internet. What can I do to figure out what the problem is?
View 9 Replies
View Related
Sep 2, 2009
how do I set the internet time from the command line?how to make a linux machine the time server within the domain?
View 1 Replies
View Related
Mar 17, 2010
I tried:
Quote:
ifconfig dsl up
ifconfig up dsl
ip link set dsl up
But I think I should have typed:
Quote:
ifconfig ppp0 up
Yesterday I was lost, I updated the drivers for the nvidia card and that broke X, since my internet is not up and running when booted I was wandering how to call it from the command line since that was the only thing I could see.
View 10 Replies
View Related
Jun 30, 2011
My GUI for backtrack is not working. I want to connect to internet. I gave the required static ip to my machine. but the problem is I have to give username and pasword through the browser before accessing the internet. Now here , i dont have any browserHow to give the log in credentials through command line in backtrack machine?
View 1 Replies
View Related
Aug 5, 2011
is there any way to do a 11.04 Alternate Command Line Install without Internet Connection? I try to install Ubuntu on a Internet-Tablet, wich has no Ethernet-Port and I don't know how to get Wifi to work during Alternate-Install. At previous Ubuntu versions it was possible to let network be unconfigured and install completely from CD or USB-Stick. Isn't this possible in current versions?
View 1 Replies
View Related
Sep 5, 2010
just learning qemu. Been able to figure out everything fine, except one thing: what do I need to add to my qemu command-line to give my VM access to the Internet?
I read online docs, but to be honest, the VLAN/TAP stuff they describe doesn't make much sense to me.
View 2 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Dec 9, 2010
I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...
View 3 Replies
View Related
Jan 20, 2010
I have ubuntu 9,10 and 7 repositorie disks I bought from osdisc.I installed ubuntu next to widows xp 3.I can't seem to connect to the internet or configure my system to do so.My us robotics usb 2.0 modem works great in xp but not at all in ubuntu.Is there someone out there willing to help me step by step?Or in anyway possible.Directions on how to or where to go for help.I'd really like to not be dependent on Microsoft completely. My telephone number is 903-566-3590. My fax is 9035660030. My address is 12862 Sandy Point Drive Tyler, TX 75707
View 1 Replies
View Related
Jun 11, 2010
I recently bought a dell inspiron 14 n4010 and i've installed windows and Ubuntu 10.04 in it. The problem is that i'm not able to access internet in my ubuntu. I'm using asianet broadband connection and i'm able to get internet in my desktop when i connect the cable to the system. But when i did the same with ubuntu 10.04 in my laptop, i'm not able to get internet access. I'm able to access internet in windows though. But i hate using windows.
View 9 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
Jun 18, 2010
I have latest ubuntu and I have made 3 vm's for them.
VM 1: with 2 NIC cards, one is NAT connected directly through my host machine to the internet with ip address 192.168.190.142. Second NIC card is "host only" with ip address 192.168.0.10
VM 2: with 1 NIC card, "host only" and ip address 192.168.0.100
I want VM 2 to connect to the internet but through VM 1. for this I used following configuration in
Code:
/etc/network/interfaces,but it is not working[code]....
I have given my VM 2 the gateway of VM 1 but it is not going through.P.S: both machines are pinging each other properly.
View 1 Replies
View Related
Jun 18, 2010
I have latest ubuntu and I have made 3 vm's for them.
VM 1: with 2 NIC cards, one is NAT connected directly through my host machine to the internet with ip address 192.168.190.142. Second NIC card is "host only" with ip address 192.168.0.10
VM 2: with 1 NIC card, "host only" and ip address 192.168.0.100
I want VM 2 to connect to the internet but through VM 1. for this I used following configuration in
Code:
/etc/network/interfaces
but it is not working
Code:
auto lo
iface lo inet loopback
auto eth1
code....
I have given my VM 2 the gateway of VM 1 but it is not going through.
P.S:
both machines are pinging each other properly.
View 8 Replies
View Related
Mar 26, 2011
I am using ubantu 10 and broadband where userid and passwd has been configured in router box. So when I connect this from windows its automatically connected (using ppp0e and dhcp), whereas in linux it could not connect.
View 2 Replies
View Related
Apr 21, 2010
is there a possibility to connect to my router admin zone from internet using wan ip? from lan I can do that using 192.168.x.x IP but when Im in work and something go wrong at home how can I check configuration of my router from outer world instead of lan?
View 7 Replies
View Related
May 7, 2010
I have installed CentOS in multi-boot set up.when i am trying internet thru win7,its working fine but when i am tryin to connect using CentOs,its not working.I have tried and changed the mac address to the one that is on windows(this worked fine with ubuntu) but the issue remains in CentOS.
View 8 Replies
View Related
Dec 16, 2010
I finally managed to install pppoe and pppoeconf. When I type command 'pppoeconf' , it invokes some window and I put username, passwd etc. But my net connection won't start. I have posting the output of various commands related to networking.ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:0f:b0:4a:54:a7
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b0ff:fe4a:54a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1388 errors:0 dropped:0 overruns:0 frame:0
[Code]...
View 10 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
May 18, 2010
In windows, when I use an HSPDA modem, internet traffic will be automatically directed through it. Everything will go back to normal once broadband connection is disconnected. In fedora 12 this is not the case, internet traffic will still go through the lan interface. Is there a way to mimic windows behavior in linux?
View 3 Replies
View Related
Jan 13, 2011
I have installed fedora 14 minimum install and I have configured my machine for Static IP but now i cant reach any external sites or repository, in fact all i can do is ssh to the box. below is the configuration in my /etc/sysconfig/network-scripts/ifcfg-eth0 file:
DEVICE="eth0"
BOOTPROTO="static"
BROADCAST="10.27.18.255"
IPADDR="10.27.18.117"
NETMASK="255.255.255.0"
[Code]....
and my DNS is setup to point to my ISP's primary and secondary DNS servers. I have brought the interface down then up after each change but still cannot ping anything.
View 4 Replies
View Related
Apr 5, 2011
I installed RHEL 5 today and set my network. Did it as follows:Eth0 connectionPrimary DNS 192.168.1.1When I click on Activate, it says:8139too device eth0 does not seem to be present, delaying initialization.This message shows no matter how many times I log out or restart.I don't know what the heck is the problem. I've done the essentials but still it's not working. I looked up on the net but people were saying things like ifconfig and lspci, and at the end still weren't able to solve it. I don't know all this since I'm new to Linux. Another important thing...after facing this same problem some time ago, I installed Centos which asked for internet settings right at the time of installation. And after logging in for the first time, I was able to use internet without any problem. How come internet works on Centos (which is a copy of RHEL) without any problems, but not working on RHEL itself?
View 14 Replies
View Related
Feb 10, 2011
When I type PWD how do I make it run the pwd command?
View 3 Replies
View Related
Sep 12, 2011
I configure my server just like on the link found in novell i hope some can help me here. my client is able to recieve DHCP address and everything is working fine on the network how ever my client cannot pullup any website, but my server is able to pullup whats wrong on this one.
Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router
View 3 Replies
View Related
Mar 31, 2010
I was able to connect to internet using PPPoE until I configured Samba network and set the machine as its server; does this two related? Is it possible there's a conflicting configuration, say DNS server config for example?
View 2 Replies
View Related
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related