Fedora Networking :: Make The Ethernet Connection By Hand In The Command Line Mode?
Apr 12, 2010
The GUI for network configuration of Fedora is marvellous such that the configuration is almost fool-proof. But how can I make the connection by hand in the command line mode? It goes okay except the very last step. When I disconnect the eth0 interface from the right-hand side of the desktop GUI, I tested how to bring it back by command line but I failed. When disconnected, the ifconfig still shows the eth0 interface, with just the ip address portion changed.
I tried "ifconfig eth0 192.168.1.xx" to give it an ip address but the connection is still down even if the ifconfig shows an ip address for the eth0 interface. Then I tried "/etc/init.d/network restart" and "ifup eth0" and also "route add defaut gw 192.168.1.1" but none of these could accomplish the same work as a single click on the GUI to connect. I am very curious about how to do it in the terminal.
I just fresh installed Fedora 11, and tried to connect via ethernet. I connected the cable and connection was started (in the network managed the two gray circled turned green) but then instead of connecting me the connection was aborted. I am behind a router if it helps and made sure eth0 is enabled. PS this is the output of "service network start":
Quote:
[root@Gal-PC subsys]# service network start Bringing up loopback interface: [ OK ] Bringing up interface eth0:
I'm new here but have been using different distros for a couple of years. I ran into this problem like a year ago for the first time and I really would like to solve this ( with your help now). I've already used hours trying to figure this out and seeked solutions online. So first things first:
- I want to connect to a wireless access point from CLI (for many different reasons) - I'm using Fedora 13 with KDE and Gnome some specs:
it is possible to tap off your phone lines with ethernet connectors. As an example. I take a phone jack in the bedroom, I splice off the line of the phone and insert an RJ45 connector along with the phone connector. Hopefully the line will be 4 wire. I can't imagine it would work with only 2 wire. I don't know for sure. Would that work?
My thoughts are the problems with the entire phone line connections. I know the phone line runs out of the house. Would it not work because of that when I attach a switch to it? If anyone has accomplished this or tried to, I would like to know. I'm guessing that the house would have to be pre-wired with CAT-5 because of collisions that can occur.
my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.
How do I install Broadcom Wi-Fi on Arch Linux in command line mode on an Acer eMachines EM350?
I assume that Broadcom STA should be the driver used and my USB key the way to install it with the help of another PC, assuming that I can't use a RJ45 ethernet connection on LAN.
The title about says it! I have a major problem on my laptop after installing updates. Some of my icons in the top panel are broken. So as a first step I need to reinstall a few things. The first step is to start the wireless connection from the terminal. So would someone please tell what the command is?
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.
I installed Fedora to a desktop with a hardwire ethernet connection to my router. When I ran the live CD it connected fine. When I boot now I have no connection, and when I try to connect I get this "AVC Denial" message and some mumbojumbo about SELinux is preventing nm-dhcp-client to read libdbus-glib blah blah blah. The troubleshooter app is no help to me at all. This is extremely frustrating. A couple of weeks ago I did an install to this same computer and had no problem at all. The only difference is that this time I wiped all of my old distros from the HD, and made separate /, /var, /boot, /tmp, and /usr partitions (in addition to the old /home partition which I kept.) I don't know how that could be causing this problem, but it's the only thing different about this install. Should I just go back to putting everything but /home on one partition?
I installed Fedora today, and I automatically had internet connection, I never had do configure anything myself. Then, I was playing around with VPN for a good while (trying to set up the VPN connection to my University), and now, I suddenly lost my connection to the internet!
But only Fedora can't connect anymore, the Windows PC has connection as well as my Mac OS X (I dualboot Linux on my MacBook). The Ethernet connection works as well, when I unplug the cable, Fedora gives me a message, but I just don't get into the internet!
Does anyone have an ides what I have to do? I don't know anything about network connections and I'm new to Linux...
I already restarted the Computer, but that didn't work, and Google didn't really held either.
The download bar on my conky overlay (${downspeedgraph eth0}) seems to be maxed out constantly. This is when everything should be idle with no downloads happening in the background (at least non that I know about).Are there any command line tools that can tell me what process is using my ethernet port?
After using fedora 11 for a month or two now the ethernet gave out on me tonight. However if I switch to my ubuntu or windows XP install it runs fine. I made no recent changes to network connections, and no installed programs that should effect it.
I have tried, restarting, older kernel, restarting services, and clearing the DNS Cache. The specific error I get is that "Firefox can't find the server", and most other applications return similar. I can however ping websites still. All other computers on the network are running fine, and booting into another system the internet will work. Just not for fedora.
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.
EDIT: sudo /etc/init.d/gdm stop worked, not sure why it did not before. Sorry for the whining!
I need to boot Ubuntu into a non-x, command line mode. So I can install an nvidia driver for my new GeForce GTX 260 (I had a GeForce 7900 running on my Ubuntu system using the synaptic open source 185 driver for nvidia, but there is no driver except the one I downloaded just now from nvidia's site for the GTX 260 card). That requires there be no X session running, not even in a separate domain so to speak. There is no rescue mode in Grub2. Recover mode in Grub still boots an X session (Gnome). Alt+F1 appears to be a clean command line terminal but even that does not work because the nvidia driver installer script sees through that ruse and knows there is an active Gnome session. I tried sudo /etc/init.d/gdm stop and that did not work. I tried ctr+alt+backspace and that did nothing.
What can I do? I tell you some days linux is just too frustrating, about to just toss the baby with the bath water and go back to Winblows. Bought a new graphics card today, and here I am stuck not being able to even install the driver from a command line prompt, geesh.
I installed Phatch today hoping to use it to reduce the file size of some picturesI took for work.I originally took the pics with 12 MP camera and now want to email them to a few peopleas smaller files.I found Phatch, but the docs under man phatch suck...Would anyone mind sharing an example of how to make the above changes to adirectory of pics. My guess is it starts: phatch -vkc --desktop [action] [path]
I am using ubuntu operating system, recently I am getting one problem when i am using the system . system is automatically going to command line mode it is asking user name and password. After entering user name and password I can able to use the system only in command line mode. Again when i restart I am getting gui as usual. Please help me to resolve the problem.
Is it possible to instruct Ubuntu to start up (GUI) Graphical User Interface mode from (CLI) Command Line Interface mode? In the old days, you can type "win" in DOS to get into Windows - something along that line. Is it possible for Ubuntu in this case?
Yes, you can reboot to switch between the modes, but shouldn't there be a command for this?
I just loaded up the Ubuntu 10.04 onto a newly scratch built computer. It went to the desktop after loading up and asking for my password. I then navigated to SYS>ADMIN>DRIVERS and preceded with download of recommended drivers for Nvadia G430 on-board display adapter. Restarted the computer to activate the new drivers and it's stuck in Command Line Mode. I tried Ctrl/Alt/F7 to escape, along with a bunch of other things but nothing will kick this puppy into the desktop.
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?
So, in finishing my nFlux slack current edition.I have set it up for users to do certain things in console and one of the things I want is a way to view slackbook-2.0 in runlevel 3 console.I cant find a pdf reader that works in command line mode and I cant figure out how to either convert slackbook 2.0 pdf into html/text Or find a slackbook download that is html or text?I tried converting it using pdftotext, which didnt work very well So, I need a command line pdf viewer or a converter that works good?
Just in case someone can reply a silly question, I've quite forgot the vi/vim command to bring the cursor to the 1st char in the current line. I do remember that for bringing it to EOL is '$'.
I need to execute evince from command line or from a shell script and open it directly in full screen, or start some program for presentation.
I mean:
$ evince (this opens evince) $ evince /dir1/dir2/file.toview (this opens evince and the file.toview but not in full screen) $ evince /dir1/dir2/file.toview 'in mode presentation'
I recently got a laptop computer and installed 64 bit fedora 11. I can make wireless connections fine but for my ISP I require a dial in using an username and password. On my desktop this is easy I just make a DSL connection under network manager and select eth0 my wired network card as the hardware and away I go. But now I can't select the wireless card as my hardware connection so my DSL keeps on trying to connect through eth0 which is obviously not plugged in. How do I go about making this connection? I have searched google and other people have this problem but I haven't seen any replies. I have tried using pppoe-setup and manually setting the hardware as wlan0 but this doesn't seem to work as under network manager it just defaults back to eth0.
Ive been struggling to configure a wireless interface on Fedora 9I need to configure wlan0 command line only with NO display managerIve tried setting up /etc/sysconfig/network-scripts/ifcfg-wlan0 with the right information, doing dhcpbut no ip is retrieved. Checking the dhcp server logs on the DHCP server - no request is received.The link light on the wireless nic is not on either. iwconfig shows it has an Access point associated and an ESSID but im not getting back any IP.There seems to be very little documenta on how to set up wireless nics command line only on Fedora
I am fairly familiar with Linux but had never ventured into Wlan settings / options / too much. I have compatible card (aetheros) and when running - iwlist wlan0 scanning - I get plenty networks showing up - meaning the card works. When I installed distro which is last night (before I ran update), I had that little bars menu at the top of the screen that showed available networks once clicked upon. Since I like to modify and make my settings better - I removed that little AT&T like bar, and now rebooted after update to find that I can not see available networks unless I use iwliset wlan0 scanning.... .#$*&)@&#(&%# - need I say more.
Two questions - how do you connect to the wireless network via command line? What is that vertical bars GUI tool called so I can find it and run it again? Is there (for the love of god) alternative to system-config-network GUI managment tool for wlan?