Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st July 2004, 03:57 PM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
system-config-network and setting up my network

Hi!

I'm stuck helping a friend, so I have to turn to you for some help.
Helping someone (my friend) remote sure is a drag.

I configured a 2 working ethernet cards on his Debian-box first, eth0 as 193.168.1.101 and eth1 as 193.168.1.102. Then added "iptables -t nat -A POSTROUTING -o ppp0 -s 0.0.0.0/0 -j MASQUERADE"

Now I want to connect to the gateway with his laptop with Fedora Core 2 installed.

First I ran:

"ifconfig eth0 192.168.1.103 netmask 255.255.255.0 ; route add default gw 192.168.1.102"

Then I edited /etc/resolv.conf and added his ISP's DNS's

search .
nameserver 193.212.1.11
nameserver 193.212.1.10

And off we go. Both LAN and Internet is working perfectly on the Fedora laptop.

Then since my friend is a noob I wanted his laptop to do things for him automatically. And I found system-config-network to be a good tool for my friend to use. I walked him through the config and I'm pretty sure everything is sweet.
So save and exit.

Then comes the problems.

After a reboot of the laptop I can not ping 193.168.1.103 (the laptop), and I can not ping 193.168.1.102 or 193.168.1.101 (Debian-box) from the laptop. And thereby no access to the internet from the laptop.

And everything looks good in ifconfig.

I tried to run the old "ifconfig eth0 192.168.1.103 netmask 255.255.255.0 ; route add default gw 192.168.1.102" again, but this time the operation is not permitted. Then I tried them one by one., and ifconfig works fine. Though running "route add default gw 192.168.1.102" it tells me "the file exists".

Still no network up and running.

I need some hints on what to do and look for here, guys. It worked, after using system-config-network it doesn't.

Thank you!

grevlingen
Reply With Quote
  #2  
Old 1st July 2004, 04:52 PM
superbnerd
Guest
 
Posts: n/a
so what is laptop's ip now. are you using a static or dhcp ip address for the laptop? who is the dhcp server ( I assume the deb (which should be a fedora box) box)? did you set up dhcp (you didn't mention it)?
Reply With Quote
  #3  
Old 1st July 2004, 05:03 PM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
The laptop still has 192.168.1.103. And yes I am using a static ip.
Reply With Quote
  #4  
Old 1st July 2004, 05:08 PM
superbnerd
Guest
 
Posts: n/a
is the network card activated (/sbin/ifup eth0) and setup to activate on bootup
Reply With Quote
  #5  
Old 1st July 2004, 05:14 PM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
Hmm. I do not have access to my friends laptop now, as we are in two different places, and he has gone to sleep. But I remember boot said eth0 [OK]. But I will look into that as soon as possible.

Thanks.
Reply With Quote
  #6  
Old 1st July 2004, 05:19 PM
superbnerd
Guest
 
Posts: n/a
is the laptop wireless
Reply With Quote
  #7  
Old 1st July 2004, 05:29 PM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
Yes, it has a wireless card as well. But now we are using a TP cable between the laptop and the desktop. I have not touched any wireless configuration.
Reply With Quote
  #8  
Old 2nd July 2004, 05:29 AM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
I have now tried /sbin/ifup eth0 on the laptop - so the card is activated.

Running "route add default gw 192.168.1.102" still tells me "the file exists".
Reply With Quote
  #9  
Old 2nd July 2004, 08:06 AM
superbnerd
Guest
 
Posts: n/a
still no ping?
Reply With Quote
  #10  
Old 2nd July 2004, 08:24 AM
ghaefb's Avatar
ghaefb Offline
Retired Community Manager
 
Join Date: Apr 2004
Location: Slovenia
Age: 30
Posts: 1,713
What about iptables? run: iptables -L
Maybe you should flush them (iptables -F)
__________________
_ghaefb


blog & sysinfo
Reply With Quote
  #11  
Old 2nd July 2004, 08:50 AM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
Now my friend dropped by with his laptop, and we had no problems with the network or the shared internet. So now I have to have a look at his Debian box.

We run the same custom firewall, but I will have another look.

Thanks for you help. I will post a solution as soon as I got one.
Reply With Quote
  #12  
Old 5th July 2004, 12:12 PM
grevlingen Offline
Registered User
 
Join Date: Jul 2004
Posts: 7
Well, Fedora was not the issue at all. Got rid of some dhcp **** and ran with NAT and static ip's, and everything worked perfectly.

My friend is happy now, running Fedora Core 2 on his laptop, sharing internet via his lan.

Thanks again.
Reply With Quote
Reply

Tags
network, setting, systemconfignetwork

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
system-config-network overwrites network scripts' parameters mcanonic Servers & Networking 4 27th May 2009 12:52 PM
Confused:network service, system-config-network, NetworkManager D_bot Servers & Networking 3 28th April 2008 02:44 PM
system-config-network lsropia Using Fedora 2 31st January 2008 09:49 AM
system-config-network Iron_Mike Servers & Networking 3 17th January 2008 03:16 PM
system-config-network owakroeger Hardware & Laptops 3 17th August 2004 07:52 PM


Current GMT-time: 15:09 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat