Fedora Networking :: 10 Wired Con. Sharing / Cant Enable Eth1 To Test Settings?
May 24, 2009
I have Fedora 10 with 2 nic's and have used the firewall tool, network manager, etc.,then disabled the firewall front end and wrote my own iptables rules but can not even enable eth1 to use it. Tried 2 different common cards (like a network everywhere 10/100) Service network restart says eth1 not there.
Right now Ive:
eth0 connects direct to internet via my cable ISP.eth1 I've set as 192.168.1.1, netmask 255.255.255.0, gateway I wasn't sure but I set as my IP on eth0 isp supplied. DNS wasn't sure, just left blank.
But I can't even enable eth1 to test those settings.
then with gui firewall crap disabled I wrote my own iptables ruleset: (kernel flagged for ip forwarding)
with all chain policies set to allow.
Code:
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -j DROP
iptables -t nat -A POSTROUTING --out-interface eth0 -j MASQUERADE
iptables -A FORWARD --in-interface eth1 -j ACCEPT
And on the slackware box (ethernet switched btw) I set up static IP 192.168.1.100 w/ eth1 on fedora
as gateway.
But like I said, fedora refuses to enable eth1. Been reading and googling last night and all morn.
(p.s. gnome, but all the tools are confusing the crap outta me, They seem to work against each other. I'm used to just bash.)
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.
im a linux noob dont get techy ill die of brain fry im running a craft bukkit minecraft server on my 11.04 ubuntu server. however the server uses my only 10m Ethernet cable that i normaly use for my ps3 (i will NOT go wireless. i hate it (or dont like it)) therefor i found an old PCI NIC in an old computer, its a 10/100 realtek one. ifconfig detects it (after two commands:
Code: ifconfig eth0 up dhclient eth0 )
now i need to send the internet to my ps3 too.i know the connection wont be blazing fast but isnt it okay?it musnt interrupt the minecraft server. if you need info just ask. ill try and provide them.
For the last 3 or so hours I have been trying in vain to simply give my mobile phone wifi internet access from my netbook. I have tried to google and follow some howto's and guides, but they're either too old or don't explain it very well. I'm fairly new to use of Linux and of wireless networks, but can handle setting them up in Windows. So basically, having said that, I believe I mostly understand how this whole thing is supposed to work theoretically but I just feel as though I lack the experience to jump the wireless hurdle AND the Linux hurdle at the same time. I have provided some information below.
- Setup is based on Lucid netbook remix install with a Maverick kernel update due to lack of driver support for wireless NIC - I can confirm wireless does work properly for connection purposes - I followed [URL] and kind of followed [URL however I couldn't even tell how to run Network Manager, even though Synaptic tells me it is installed - When I ran into problems trying to install ipmasq I found [URL] and followed what the response told me to which allowed me to restart the dnsmasq and the dhcp3-server at least - I have restarted the entire netbook several times throughout the process.
I have: 1) A desktop PC running Ubuntu 10.04 and a Virtualbox guest, Windows XP. My printer is connected and operates via XP. Yep, its a Windows-only printer, but the VB file-sharing allows me to print Ubuntu files. 2.) Another desktop running Puppy Linux. 3.) A netbook running XP as a native install.
No. 1 and 2 are connected to a Level One router by ethernet cable. No. 3 is wireless. All 3 machines work fine independently, with no problems accessing the internet. Getting these machines to "see" each other seems to be harder than falling off a log! How to share files and the printer, especially on how to configure the router. The manual that came with it doesn't seem to explain how to do this. It assumes that all your devices are either wired or wireless, with no hints about how to network wired and wireless machines together.
I have installed Lucid in a new laptop. Things are running OK except for the following problem:
I connect to the network/Internet using Wired ethernet (TCP/IP) with static IP. Everytime I reboot/restart my network configurations are lost and I have to re-configure. I have googled this problem and have seen a few posts/bugs in launchpad etc. for what appears to be the same issue...but unfortunately I am not getting a clear solution to this problem.
Just for clarity, I am using the following commands to re-configure my network everytime:
Also note that I have already tried editing the /etc/network/interfaces and the /etc/resolv.conf files. But it seems that these are not being picked or are being overridden.
I want to share some folders over a network but, when i right click a folder I don't see sharing option in the menu that used to be in Gnome 2 I'm using Fedora 15 with Gnome 3 .
I did a fresh install of Lucid alongside Vista on my laptop, a Toshiba Satellite A205-S5804. When I went into "Personal File Sharing" under System > Preferences, it said that the necessary packages were not installed. Using the documentation at this link: [URL] I went into a terminal, opened shares-admin, and as promised it told me that I didn't have the right software installed, and allowed me to check both NFS and SMB to install. I did so, installed, and at the end, it said everything was successful.
After exiting the dialog, the window asking me to install NFS/SMB appeared again. I selected to install, it disappeared, and then reappeared. It did this repeatedly, until I decided to close it out. I then went back to the guide, and went to add a new share. But the drop down box would not allow me to choose Windows share, only Unix (NFS). How do I enable Windows File sharing? I have used Ubuntu in the past and have got it to share with Windows computers flawlessly. Now, it appears that this essential (for me) functionality is broken.
I recently installed Ubuntu 9.10 on my Dell Inspiron 1545 64-bit laptop. Before that I used Windows7. In Windows, the internet connection worked perfectly well. But after installing Ubuntu, I am unable to connect to the internet. The network-manager applet finally says that "You are disconnected". When I do the "ifconfig", I got no IP address.
So, I installed Ubuntu 9.04 in the same system. But the problem persists.
I gone through many posts in this forum but nothing was useful.
I need to setup two ethernets in my Centos box. OK no problem both ethernet and 1 virtual works perfect. eth0, eth1 and eth1:0. I'm trying to set up diferent routes for eth0 and eth1/eth1:0 I need eth0 has a 192.168.1.1 gateway and eth1/eth1:0 192.168.1.100 gateway.I think I've tried almost every thing but always get one gateway for all the eth.These are my config..
/sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0[code]......
I have a triboot windows suse 11.3 stable and suse 11.3 factory pc, I would like to share the browsers and email settings between the suse stable and factory, I succeed with thunderbird and firefox moving the /home/.thunderbird and /home/.mozilla in an ext3 shared partition and linking these in the respecive /homes, I found that there isn't a /home/.chromium folder, I found probably /usr/lib64/chromium could be the same as /home/.mozilla for firefox, but I don't know if is secure or can damage my system to move this in a ext3 partition and then link this to the respective /usr/lib64/chromium, /usr/lib64/chromium has root owner, root group, visible and modifiable for root and only visible for group and other.
I'm having mysterious wired network problem with my Karmic/9.10 machine. It hasn't been in network a while, but now I finally got the cabling done. I can't get the IP from dhcp server (TW-EA510), and static settings doesn't work either. Fresh cabling showed OK 1Gb connection on tester, and win7 laptop works fine. I even tried with long cable though the rooms, but it doesn't help, so it definately isn't the new cabling.
Log from the router after issuing #"dhclient": Feb 16 23:01:43 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 Feb 16 23:01:43 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1 Feb 16 23:01:49 DHCP SERVER: DHCP request from 00:1b:ea:c8:a0:ba Feb 16 23:01:49 DHCP SERVER: DHCP ack to 00:1b:ea:c8:a0:ba Feb 16 23:01:54 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 Feb 16 23:01:54 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1 Feb 16 23:02:03 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0 [Code]....
Motherboard is some old Lanparty with two ethernet ports, NVidia CK804 and Marvell 88E800 rev 13 Gigabit netwok adapters, neither of them works. At least another of them has been worked earlier when I last got it wired. It's been a while, so I'm not sure which one of them and with different router if that matters.
I try to generate a server client code. What i try to do is sending video streams from eth0 and eth1 to the other server programs' eth0 and eth1. In order to do that, i decided to use SO_BINDTODEVICE. But the code is not working. Am i misunderstood the usage of SO_BINDTODEVICE.
1-Defining two ports 2-Defining two sockets 3-Assigning host ips on them
If I do System-Preferences-Personal File Sharing it tells me that I can't enable sharing over the network because "the required packages are not installed on your system". It doesn't tell me WHAT packages I need to install!
I have two network interfaces on my computer but only one of them is connected to an Ethernet cable. Until now on every Fedora release, the activated primary interface has been named as eth0 and everything has always worked well without any problem. Recently I switched to Fedora Core 12 and surprisingly I observed that for the first time, my primary interface has been considered by the system to be eth1 instead of eth0. I tried to replace the content of ifcfg-eth0 by ifcfg-eth1, yet system gave me an error that there was MAC address mismatching. I conserved their MAC addresses in their files and just replaced other connection parameters ( such as IP ADDR, NETWORK, NETMASK, etc.) but it did't work. When I do "server network restart", the command blocks.
As I try to install oracle on this system, regarding the fact that oracle requires static network configuration on the primary network interface, I don't know how to proceed in order to set eth0 as my primary interface (or rather set the current eth1 to eth0 because it is actually eth1 that refers to my activated primary network card).Just one more time, I would like to remark, that with previous versions of the Fedora Core, on the same computer (with the very same two network cards) I never had problem and I had installed oracle on the system with success, having the statically configured eth0 correctly detected by the system.
I recently upgraded mu Fedora 13 to Fedora 14, I decided to add another NIC that I assumed it'll be eth1, when I boot the PC and typed #ifconfig eth0, eth1, lo appears. But when I typed #setup eth1 is not present. Why is that? I remembered doing this in Centos 5.5 but it automatically appears after I added a NIC and boot the pc? what should I do?
I would like to enable personal file sharing so I can access my laptop (hp Mini laptop w/ ubuntu) from my mac mini (OSX 10.4.11), but the message I get in PFS dialogue box is "This feature cannot be enabled because the required packages are not installed on your system".
1. I am trying to setup NIC via network not NetworkManager 2. I have assigned the ip to both NIC with #ifconfig eth0 192.168.1.1 3. #Ifconfig shows my nic and ip 4. restart the service network . 5. #ifconfig shows nothing. NO NIC card
I dont want the network manager coz i dont want to install the gui on router and network manager works only in gui mode. ( i think my this understanding is correct)
I tried to configure the NIC with Network Manager
When ever i restart the network service i have no out put from ifconfig
I tried to configure the NIC with #setup command as well and select the dhcp option
I can not find any ifcfg-eth0 in /etc/sysconfig/networking-scripts/
How can I convert eth1 back into eth0 on Fedora 13? I searched /etc for eth1 and found it in 70-persistent-net.rules, but eth0 is still in the ifcfg scripts.
A couple of days ago I Obtained a spare computer and installed fedora 14 on it, just to try it out. I only have experience with microsoft windows so I'm new to this system. The OS seems to work fine but I can't browse the internet with firefox. I'm using a speedtouch 546 v6 modem with adsl(wired). The network manager indicates that the wired connection "auto eth1" is active. The previous OS was windows xp. I was able to browse the internet whit this OS. I removed it because it was crashing all the time (illegal version).
I cannot get static addresses to work on eth0 and eth1. eth0 seems to use DHCP while eth1 uses the static information. Sometimes the static info is used but the interfaces get the addresses reversed.
From /etc/sysconfig/network NETWORKING=yes HOSTNAME=mosaic
I have a Fedora 11 system and cbq.init-v0.7.3 in it. Now I want to restrict upload speed from my ftp server to Internet (eth1). According to docs I've made a simple file /etc/sysconfig/cbq/cbq- 00.inet_upload_restrict:
So as you can see I want to limit outbound traffic on eth1 from my ftp port 20 to any to the 800Kbit/s (100Kbyte/s). Now I do cbq start, it says: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. but it starts and works. Now I check the speed and it is...
I have a hardware device with two ethernet ports, eth0 and eth1 running Centos 5. Basically my goal is to forward packets from eth0->eth1 and eth1->eth0 as well as get a copy of these packets for analysis. If I set IP routing to do the forwarding then I won't get a copy of the packets for analysis.
I want my netbook to connect automatically to both the office wired/static network and to the usual wired/DHCP networks.
wicd is wicked but netsearching hasn't revealed how to configure it for both wired/static and wired/DHCP except by manually switching profiles.
wicd's profiles can use pre/post(dis)connect scripts but I don't know how to integrate them into wicd when they are upping/downing connections on cable (un)plugging.
If it is not practical to solve this within wicd, I'll explore standalone scripts to configure eth0 on cable (un)plugging, as detected by ifplugd.
I'm trying to print files to a printer that is connected to my Ubuntu machine. Basically the printer server (and client) is the Ubuntu machine. The other client machine is a Windows 7 laptop. I have followed many tutorials and guides on how to enable printer sharing. For some reason I can't get the printer to be listed as an available printer.
I'm using Amarok 2.3.2 on openSUSE 11.3 with KDE 4.4.4r3. How can I enable DAAP sharing of my Music library so that I'm able to access it in Rhythmbox from my Linux Mint 9 desktop?