Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies


ADVERTISEMENT

Networking :: Wireless Network - Sudo IFConfig WLAN0 Not Working

Mar 15, 2011

I have got Ubuntu 10.10 on a Dell Inspiron Laptop. Can't get anywhere with wireless network. Tried a few bits of poking it blindly with a stick:

matthew@ubuntu:~$ lshw -C network
Warning: you should run this program as super-user.
*-network
Description: Network controller
Product: BCM4312 802.11b/g LP-PHY
Vendor: Broadcom Corporation
Physical id: 0
Bus info: pci@0000:0c:00.0
Version: 01
Width: 64 bits
Clock: 33MHz
Capabilities: bus_master cap_list
Configuration: driver=b43-pci-bridge latency=0
Resources: irq:17 memory:f69fc000-f69fffff
*-network .....

I reckon *-network DISABLED is a problem, I tried sudo ifconfig wlan0 up but that didn't work. The output of that and lspci are on the ubuntu side of my machine. I have also tried pressing my wireless on/off key (F2) but that doesn't work either.

View 8 Replies View Related

Ubuntu Networking :: Error Appearsubu@ubu-AOD255E:~$ Sudo /etc/init.d/networking Restart?

May 21, 2011

trying to bond two 3G modems but I cant Im really new in this matther so I really This is the error that appears

ubu@ubu-AOD255E:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface ppp0=ppp0.

[code]....

View 3 Replies View Related

Ubuntu Networking :: Sudo /etc/init.d/networking Restart For Karmic?

Oct 2, 2010

It didn't work. I plugged the cable back in, and it didn't auto-connect, and still says no connection is available after doing the CLI command.

View 2 Replies View Related

Ubuntu :: Sudo FDisk - No Init Found

Apr 3, 2011

First I installed ubuntu on a separate hard drive and ran that as primary hard drive. Then I opened terminal and entered:
sudo fdisk -l
The errored hard drive was sdb1. I then entered:
sudo fsck /dev/sdb1
There were questions I answered yes to then, after swapping drives, I booted normally. Everything was normal except I have to choose a different version of ubuntu at startup. I haven't had any problems so far but this was just an hour ago.

View 2 Replies View Related

Ubuntu :: Where To Enter Commands Like $ Sudo /usr/etc/eth0

Aug 28, 2010

I am a Mac/ Windows user, forced to use Linux for my college work. I do not know where to enter commands like $ sudo /usr/etc/eth0 mvntz -do4i or how to make them work

I had a problem - the Wi-fi card in my laptop was not working. All the forums were useless. They wanted me to READ about wireless networking !

Finally a good friend solved the problem in a simple way : it appears Ubuntu has not installed the drivers for my Broadcom wireless card since it was not open source. I had to download it myself. Here is how : Go to System menu on the top bar. Choose administration/ hardware devices. Tell it to activate the device. It will download the drivers through the cable attached to DSL modem and install.

Then clicked the network icon, selected edit connections, and entered my wireless network name and password. This solved all problems.

Why doesn't Linux give me a warning that the driver for something is not yet installed ? When I was struggling with the network setup wizard for the whole day, there was no clue about the missing driver.

View 6 Replies View Related

Ubuntu :: Stop Services Without Sudo?

Sep 12, 2010

I am working on a notebook which has both gnome and wmii. I am trying to find a way to script stopping various services when booting into wmii however the "service xxx stop" requires sudo..Is there a way to allow a user to manage services without the need for sudo (aside from password-less sudo)? I assume there are permissions complications with writing the PIDs, etc. Is there a 'simple' solution? Even possible passwordless sudo just for the 'service' command?

View 2 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies View Related

Ubuntu :: No Internet Connection Unless Run Command In Terminal - Sudo Dhclient Eth0

Feb 21, 2011

Running 10.04. For some reason, starting today, I have no internet connection unless I run this command in terminal - sudo dhclient eth0. I have a hard wired ethernet connection on a Desktop PC with a static IP address (there are a number of devices in the house) and it has been running 100% for months and months. Why suddenly do I have to enter this command to get connection? When I switch on I get a connection in that when I click on the Top Panel icon and right click Connection Information it tells me I have an active connection to my router on the normal IP address. I cannot ping the router and Firefox says Server not found. After sudo dhclient eth0 everything works - what has happened since yesterday evening and this morning to stop what has been 100% for months?

View 6 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password

View 8 Replies View Related

Ubuntu Multimedia :: Xorg Will Not Turn Off - Sudo Service GDM Stop

Mar 1, 2010

I'm trying to install Nvidia drivers 190.53 on my karmic with a Nvidia 9500GT. I've downloaded the file from the Nvidia website. I've done this before on previous installations and everything went fine, however, with karmic turning off the xserver is a bit of a trick.

/etc/init.d/gdm stop doesn't work
sudo service gdm stop doesn't work
sudo killall gdm doesn't work.

After I run sh ./NVIDIA-linux-x86-190.53-pkg1.run a notice pops up and tells me I'm running x and I need to exit out. I thought I did. I've looked at the instructions on the Nvidia website, but I don't remember it being that complicated before and am a little nervous about removing files I don't know what they do.

View 4 Replies View Related

Ubuntu Networking :: Ifconfig Eth0 Not Found

Aug 6, 2011

I am working with ubuntu and my eth0 connection was up and working fine untill some days back when all of a sudden it seemed to disapper. I was able to access the net through it before. But now it has vanished and i donno when. i tried ifconfig eth0 up but no use. The result of cat /etc/network/interfaces is as follows

auto lo
iface lo inet loopback

View 9 Replies View Related

Ubuntu Installation :: Failed To Acquire Org.gnome DisplayManager - Sudo Gdm Stop Error

Dec 18, 2010

[code]...

I keep getting this error when i try to update my Graphic card.

View 3 Replies View Related

Ubuntu Networking :: Cannot Get ETH0 To Appear In Ifconfig Via CAT5 Cable

Nov 7, 2010

I'm trying to get my Ubunutu and OSX systems to connected via a cat5 cable to transfer some large files around very quickly. Now i know normally this would require a crossover cable as it's a direct connection but the macbook/OSX can handle changing the wires round to make it work like a crossover cable as I've done it before. However the macbook creates a self-assigned IP or as I've tried I've set it to :
IP:10.10.0.1
Subnet: 255.255.255.0

Then I've setup the Ubuntu system both through the System>Admin>Network panel as:
IP:10.10.0.2
Subnet: 255.255.255.0
and my /etc/network/interfaces file is the same;
#lines added to get static crossover cable working
auto lo
iface eth0 inet static
address 10.10.0.2
netmask 255.255.255.0

Yet when I run ifconfig in the terminal eth0 isn't present
Code:
htpc:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:912 errors:0 dropped:0 overruns:0 frame:0
TX packets:912 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:371613 (371.6 KB) TX bytes:371613 (371.6 KB)

ra0 Link encap:Ethernet HWaddr 70:f1:a1:e6:b1:97
inet addr:192.168.0.42 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fee6:b197/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:120744 errors:1 dropped:0 overruns:0 frame:0
TX packets:87499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:171716865 (171.7 MB) TX bytes:7815802 (7.8 MB)
Interrupt:19

htpc:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 90:fb:a6:e4:c0:b0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:23 Base address:0xe000

Also even when I try and ping 10.10.0.2 either from my OS X or the actually Ubunutu machine all I get is:
Code:
ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3

Yet the Ubunutu machine is also connected to Wifi and when I ping it's own address I get the expected response. To me it just seems like eth0 isn't being recognised somwhere or it's not turned on yet I can't seem to find any toggles or settings for it anywhere. Further more if I check >System>Admin>Network Tools the IP for eth0 is 0.0.0.0. What could be going wrong and why no IP set correctly?

View 7 Replies View Related

Fedora :: Where SUDO File At / Add Myself As A SUDO'er?

Oct 11, 2009

Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?

View 3 Replies View Related

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related

Networking :: Unable To Locate Eth0 With Ifconfig In Fedora 12 ?

Apr 26, 2010

I've got a vmware install of Fedora 12 running as a server. This install has the /etc/sysconfig/network-scripts/ifcfg-eth0 file configured with the proper info and the service has been restarted. When I run ifconfig I only get the loopback interface, when I run ifconfig -a I can get the eth0, but without the pre-configured ip address. When I enter ifconfig eth0 up I can activate the interface, but without the afore mentioned ip address. I need to be able to yum ssh, install it, and run it with rsa keys. Can do none of this without an interface obviously.

View 3 Replies View Related

Fedora Security :: Terminal Equivalent Of "sudo" Is It Still Sudo/KDEsudo

May 29, 2010

I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.

The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo

I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?

View 14 Replies View Related

General :: Stop And Restart Ethernet Connection Ubuntu 9.10 - Ignoring Unknown Interface Eth0=eth0

Mar 8, 2010

If I uncheck and recheck "Enable Networking" in the Network Manager Applet 0.7.996 I would expect the wired network to disconnect (which it does) and reconnect (which it does NOT). So I tried sudo ifdown eth0 and got

Quote:

Ignoring unknown interface eth0=eth0.

ifconfig tells me

Quote:

eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

so I am at a loss. How do I stop and restart the network interface short of rebooting the machine?

View 9 Replies View Related

Ubuntu :: D - What Does It Mean When Get A Eth0:avahi - On Ifconfig

Jan 2, 2010

What does it mean when i get a eth0:avahi ? on ifconfig

View 2 Replies View Related

Ubuntu Networking :: E173 On T-Mobile - Won't Be Able To Do A Sudo Apt-get

Mar 18, 2011

I know, from detailed google searching, and several threads on here, that a number of people have this mobile broadband modem, and have got it working. I'm running Ubuntu 10.04 I have got usb_modeswitch working, however, I'm not having any success when I do modprobe. (It seems that this fixes the problem for everybody else, but not me). It doesn't seem to be attaching any driver to the modem, see output below.

david@holmez:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1c05 Huawei Technologies Co., Ltd.
[Code]....

I have absolutely no internet from my Ubuntu, so I won't be able to do a sudo apt-get. I think I can get what I need from the packages.ubuntu website, except, I don't know what I might need, or where to go from here.

View 9 Replies View Related

Ubuntu Networking :: 9.10 - Sudo Server Samba Restart

Feb 21, 2010

My Ubuntu 9.10 works well with the network through samba, but only if I first run -
sudo service samba restart
Then all is fine. I don't understand this. How can I avoid having to do this? Or alternatively where can I best put this command so that it will be run on boot-up.

View 2 Replies View Related

Ubuntu Networking :: Sudo Modprobe NDISwrapper Not Responding

Apr 4, 2010

My current situation is that the command "sudo modprobe ndiswrapper" is not responding, nothing happens. I am using [URL] as my guide and the "sudo modprobe ndiswrapper" is my next step. Here is some general information that you might ask for:
I received ndiswrapper utilities from "Synaptic Package Manager"
I was using jaunty jackelop before hand and the instructions worked perfectly but I decided to update to Karmic Koala 9.10 (I first installed the cloud enterprise version and realized that was way over my head).

View 9 Replies View Related

Ubuntu Networking :: Sudo: Usb_modeswitch: Command Not Found

Aug 21, 2010

when i type this command

sudo /usr/sbin/initmodem.sh

the output is

sudo: usb_modeswitch: command not found

I am trying to install BSNL capitel modem in Ubuntu 10.04.

View 2 Replies View Related

Ubuntu Networking :: Broadcom Wireless - Sudo Modprobe B43

Jun 1, 2011

I get the wireless working by executing
Code:
sudo modprobe b43

All good so far, but it's kinda tiring to execute that command every time I restart the computer, just to get internet access. Is there any way to make this command execute by it's own, when starting up the computer, like in the background or something. Or even better, to actually make b43 the default driver for the wireless. I've tried reinstalling both bcmwl, and b43, uninstalling bcmwl etc. But no luck.

View 2 Replies View Related

Debian :: Network Do Not Take IP - IFConfig Eth0

Mar 3, 2011

I have a problem with the network. Worth two network cards and Ian wan. Do not take the ip. When the system boots not included until you do the command ifconfig eth0 up. The network card is connected to a router, he does not see it. Router working, tested. Network card is working well, tested on Windows. RX RT packages go, withheld support for ipv6 and packages no longer go.

View 14 Replies View Related

Ubuntu Networking :: Sudo Modprobe Ndiswrapper Hangs System

Apr 17, 2010

Merged with ndiswrapper troubleshooting thread

View 1 Replies View Related







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