Fedora Networking :: Connecting Wired Connection 15 - SWITCH TO ROOT USER If Don't Have Privileges
May 26, 2011
Figured out a straight shot at connecting to the Internet in Fedora 15. Follow these commands.
1.)****** SWITCH TO ROOT USER if you don't have privileges*******
2.) cd /etc/sysconfig/network-scripts
3.) rm ifcfg-XXXXX (DO NOT REMOVE THE IFCFG-LO)
4.) system-config-network
-> Once in this screen, press the enter key on "Device configuration"
-> Configure your network statically. ( I did the following.) Name: leave as default Device: Leave as default DESELECT "Use DHCP" Set Static IP as 192.168.2.117 (or 192.168.1.117) Set NetMask as 255.255.255.0 Set "Default Gateway IP" AND "Primary DNS Server" to 192.168.2.1 (or 192.168.1.1)
I just want to use Internet Connection Sharing (ICS) to connect to the internet. I have done a massive amount of troubleshooting, but some of it seems to contradict itself, and the only two things that I know for sure are that it used to work, and that my Ethernet cable is not the problem. When I use Terminal utilities like ifup and dhclient it seems that it can not determine IP information, but when I try to put it in manually, the "Apply" button grays out right after I finish typing it in. When I try to connect normally, in KDE or GNOME, the icon acts like it's connecting, then instead of having the connected icon, I receive a notification that "the network has been disconnected", and it goes back to the disconnected icon.
Oh, and by the way, I know that I could probably find a workaround, but I have limited resources, and this used to work. The Linux is a Dell desktop with Fedora 12 and the Windows is a Windows 7 HP laptop.EDIT: I hope that I didn't mess something up, but I accidentally used system-network-config to try putting in the IP address there, and ended up changing it back to the original settings, but the computer is now calling it Auto Ethernet in the taskbar icon, although sudo iwconfig in the terminal still calls it eth0.
I have the latest version of ubuntu on an HP dv4000 laptop fully updated. wireless worked out of the box. but the wired connection wont start. Problem is with the ubuntu install not the network. But i dont know how to configure it to work.
Just had an issue crop up where connecting wired network seems to stop wireless connections from getting an IP (happens on multiple networks both while the cable is plugged in and once it's been unplugged; also persists across reboots). Machine is a Dell Latitude 2120n with UnionFS running. Connection was working fine prior to the wired connection
im on node1 when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss
ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes -all wired connection over a switch
i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.
I want to create a user who has all the privileges that root user has.I know how to create a user but i don't know how to grant root privileges to him.
I create a user in CentOS 5.5 for using with my email account.
useradd ralf passwd ralf
use "ralf user" only for my email account. How can I remove others privileges/permissions? Also, I want to use "ralf user" without root privileges/permissions.
Having just installed fc13 and downloaded the KDE package I attempted to log out as user and back in as root, but I keep getting a message about the wrong password. This is odd as the same password works in terminal if I try to become a SuperUser. I have tried turning off SELinux to no avail. I cannot log in from cold as root,only as user.
I upgraded to 10.10 from 10.04. I have the problem with connecting to a wired connection at my workplace. It was connecting earlier on 10.04 and now it doesnt. Laptop make is Hp and model number is 8530W.
Is there a way to grant 'root' privileges to my user account? My account name ... I'll call it 'masterskop' as it is my forum name here, but not on my computer.Would it look like this in the sudoers' file?My purpose is to get access to all the folders and files in the 'File System'. The root and lost+found folders have 'Xs' on them...No access! And for example, under properties of the 'var' folder it states that 'you are not the owner, so you cannot change these permissions.' How can I get access to all of it everytime I login as the main user of my computer? I do not have anyone else using this computer.I did edit this file and used my real user name ... logged out and logged back in and still I do not have access/edit these folders and files.
How to allow access to some commands having root privleges to be run by non root user. I am new to unix/linux and I have a major assignment. I have to find ways to run particular commands which can be run only by root from a non root user. I know sudo is one of the way but i need some different approach.
i am trying to recover some files on a partition through the ubuntu live cd (they are hidden files and i can't find anything else that would work) and it said i needed root privaleges in order to copy them. is this possible and how do i do it
As a random thought I purged the firmware-realtek package and rebooted. Ethernet works fine now??
Fresh Jessie installed this morning with KDE. Wired worked fine during installation and initial boot. Reboot after package installation and only wireless is working right now. I did install the realtek firmware as part of my normal package list.
This is /var/log/syslog when it stopped working, and hasn't reconnected since. Cable is fine as it was working perfectly with a live Ubuntu shortly before I installed the system with Debian.
I put this file in cgi-bin folder of Apache server. Here is my problem : when I run this file with shell as root user it makes change to iptables, but when I use my browser to run this file, it doesn't make any change. I'm sure this is because Apache doesn't have permission to manipulate iptables. How can I start Apache as a user with root privileges ?
I Installed the maintained package, Day one everything worked fine, I set a dummy database and work on it from VM windows. Day two weird errors, I searched around couldn't find the problem, the error was related to The root user losing privileges. I don't remember the exact error. So I decided to Completely remove the DB with apt-get remove mysql-Server-5.1. It gets stuck during the uninstall, I left the machine for a day and a half to uninstall mysql. I realized it was no use, I tried to Restart and try again, but I am getting the same thing.
Code: finito@finito-desktop:~$ sudo apt-get remove mysql-server-5.1 Reading package lists... Done Building dependency tree Reading state information... Done
The following packages were automatically installed and are no longer required: dbconfig-common libhtml-template-perl mysql-server-core-5.1 libaprutil1-ldap apache2-mpm-prefork apache2-utils libmcrypt4 apache2.2-common libt1-5 libaprutil1-dbd-sqlite3 apache2.2-bin wwwconfig-common php5-common javascript-common libjs-mootools Use 'apt-get autoremove' to remove them.
The following packages will be removed: mysql-server-5.1 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 15.7MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 231901 files and directories currently installed.) Removing mysql-server-5.1 ... it stays stuck at Removing mysql-server-5.1 ...
I can't progress I am at the brink now, my only option right now is format, but I don't wanna do that. This setup is almost 5 years old and I have gone with many ups and downs with it. From Windows to 8.04 to 8.10 to 9.04 to 9.10 to now 10.04 each year loving the resilience of Ubuntu and the Linux architecture. I don't want to believe that this has killed my spree.
In our group we use NIS and have a group set up called netadmin which is given root privileges on each machine. Each machine also has a localuser called localuser created and used during installation. When logged in as a member of netadmin, attempting any action that requires root privileges (e.g. installing software in Ubuntu Software Center) results in a prompt asking for localuser's password, not the current user's password.
Does anyone know the cause? Configuration issue or Ubuntu issue? We can get around it.
I've installed F10 on my laptop since few days and I'm facing an annoying networking issue: the network connection seems to work well when, suddently, it goes down for a while, and then come back.This happens with both wired and wireless (Intel PRO/ Wireless 3945ABG) connection.
So basically, complete linux noob here, dual-booted fedora 13 with windows 7, and fedora can't seem to detect either my wired or wireless, however i don't really care about the wired. After spending a few hours browsing forums and tutorials and the like, seems as if it is a driver issue, as in there is none. I have managed to find the files :
HTML Code: broadcom-wl-5.60.48.36-1.fc13.noarch.rpm kmod-wl-5.60.48.36-1.fc13.5.x86_64.rpm
i m connected it with wired bb airtel connection but its not working i have one more operating system windows 7 thats working nicely with that connection.
newly installed fedora 15 is not able to connect to internet i have broadband connection with wireless modem my laptop is connecting to wireless modem network. but i am not able to configure pppoe connection on it PS: i am able to connect to internet when using wired connection from modem
I need to access some things in "documents and settings" folders (my windows xp crashed). I believe I need to be root user in linux to do this. I am running a ubuntu linux live (uninstalled) cd. I am new to linux and I do not know if this is even possible. I want to copy some things from documents and settings folder to an external drive (as backup) but I cannot access them as things are now (linux gives me an error when I try) but I would like to do it in gui so I can physically "see" everything and look through it.
I have 2 workstations that I'm trying to network together so that I can backup each to the other. One is XP sp2 and the other Fedora 9. Since installing Samba on the Fedora box and trying to get it configured, I have a problem that Add/remove programs won't do installs because it says there's no connection to a network. Network Manager says there aren't any connections, but it worked before the Samba install. Mozilla and Thunderbird can access the internet OK. Both workstations are connected by cable to my router and thus to my ISP (DNS server).
Two questions:- where can I find hints on setting up a wired connection (which card's MAC address does it want? router or wrkstn?) and Am I right that Add/remove is stuffed because of Network Manager?I now have Samba working from Linux to XP, but still can't get into Linux from XP. I tried the Linux PC's MAC address and set up a wired connection in Network Manager. NM still thinks there isn't one...
I have an issue relating my broadband connection, which I am not able to solve. I hope and wish, that I would find some way out here.
Some introduction: I am using Dell Inspiron (i3 processor) laptop, which I recently bought. I have win 7 preinstalled in it. In win 7, the wired broadban connection (Airtel connection) is working fine and have no issues.
I have been using mobile GPRS(BSNL, Ltd) through bluetooth, and that have been working fine. But today when I tried to connect through landline connection, it didn't workout. But the bluetooth connection is still fine. When I tried to do the connection manually through Network Manager, it is not taking the MAC Address. Till now, after installation, I have not updated my OS.
I surfed the net and tried some commands, whose results I am posting below.
From a post I found out, that I should change my duplex settings (from 100 full to 10 full), but I could not get much. The corresponding commands and output,
Situation: I can access Ubuntu from Windows XP but not XP from Ubuntu. When I try to access XP from Ubuntu I get message "Unable to mount location Failed to retrieve share list from server"
In System/Administration/Network Tools using Network device: Loopback Interface (lo) I can ping the IP address of the XP machine. Also, using Network device: Ethernet Interface (eth0) I can ping the XP by using its computer name.
In System/Preferences/Network Connections it shows under the Wired tab: Auto eth0 never used
Below are the settings in my smb.conf file.
## Browsing/Identification ### workgroup = MSHOME wins support = no wins server = w.x.y.z dns proxy = no
I'm running an up-to-date Fedora 12 machine with the Gnome desktop (meaning with Network Manager). My network connection is a wired ethernet to a switch which then connects to a Netgear router. For some reason, this machine can't renew its leases with DHCP, so NetworkManager deactivates eth0, taking my machine off the network. I have to click Network Manager and enable eth0, which seems to work every time.
How can I fix it? Here are the relevant bits from /var/log/messages showing a failed DHCP request and then the successful renewal.
Code: Aug 1 04:00:08 ironton dhclient[12452]: DHCPREQUEST on eth0 to 192.168.1.1 port 67 Aug 1 04:00:08 ironton dhclient[12452]: DHCPNAK from 192.168.1.1 Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): DHCPv4 state changed reboot -> expire Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): device state change: 8 -> 9 (reason 6) Aug 1 04:00:08 ironton NetworkManager[1261]: <info> Marking connection 'System eth0' invalid because IP configuration expired.