Fedora Linux Support Community & Resources Center
  #1  
Old 21st May 2009, 11:22 AM
atifshakeel Offline
Registered User
 
Join Date: May 2009
Posts: 20
Xp can ping fedora10 but fedora can't ping xp.

hi i have connected xp and fedora through crossover cable .
xp has ip address 192.168.0.1/24 (manually assigned)
fedora has 192.168.0.2/24 with default route equal to 192.168.0.1

i can ping fedora from xp computer but i can't able to ping xp from fedora computer.

i have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.

now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.

can any one tell me where i 'm going wrong

Regards
ATif
Reply With Quote
  #2  
Old 21st May 2009, 11:35 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
Check the Windows XP Firewall settings, Advanced tab, ICMP settings button, should put a check under allow incoming echo request.
Reply With Quote
  #3  
Old 21st May 2009, 12:00 PM
atifshakeel Offline
Registered User
 
Join Date: May 2009
Posts: 20
its already checked."allow incoming echo request"

is this probelm due to samba.
when i put command service smb restart errors comes "smb: unrecognized service"
Reply With Quote
  #4  
Old 21st May 2009, 12:09 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,676
Quote:
Originally Posted by atifshakeel View Post
its already checked."allow incoming echo request"

is this probelm due to samba.
when i put command service smb restart errors comes "smb: unrecognized service"
Is samba installed? su -c 'yum install samba'

Edit: If you need to install samba you also need to allow samba through the firewall.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB

Last edited by glennzo; 21st May 2009 at 12:15 PM.
Reply With Quote
  #5  
Old 21st May 2009, 12:31 PM
atifshakeel Offline
Registered User
 
Join Date: May 2009
Posts: 20
hi glennzo my fedora pc is not connected to internet. so is it possible to install samba then bcz when i put the command "su -c 'yum install samba'" the foolowing messages comes
couldn't retereive mirror list http://mirrors.fedoraproject.org/...........
[errno 4] IO error urlopen error.


I have installed a fedora by copying image from usb after booting from usb disk
so do you think all the packages installed already or i have to install now

if its not connected to internet then any other way to install packages.

and how to check weather the samba is installed or not
smb.conf file is present in /etc/samba/smb.conf
Reply With Quote
  #6  
Old 21st May 2009, 05:01 PM
atifshakeel Offline
Registered User
 
Join Date: May 2009
Posts: 20
i can ping both machines from each other.
but i could not able to use interent on fedora machine which is connected to xp.
is there any dns server issue.
fedora is getting ip through dhcp .
xp is connected to internet through wireless adapter and ethernet card on xp has ip "192.168.0.1/24" no gateway.

fedora gets ip through dhcp "192.168.0.85/24

i can not able to use intenet
Reply With Quote
  #7  
Old 21st May 2009, 11:25 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,676
Quote:
Originally Posted by atifshakeel View Post
hi glennzo my fedora pc is not connected to internet. so is it possible to install samba then bcz when i put the command "su -c 'yum install samba'" the foolowing messages comes
couldn't retereive mirror list http://mirrors.fedoraproject.org/...........
[errno 4] IO error urlopen error.


I have installed a fedora by copying image from usb after booting from usb disk
so do you think all the packages installed already or i have to install now

if its not connected to internet then any other way to install packages.
I personally know of no other way. If you had an install CD or DVD you should be able to install it from there but you apparently have no install disk ??
Quote:
Originally Posted by atifshakeel View Post
and how to check weather the samba is installed or not
smb.conf file is present in /etc/samba/smb.conf
Open a terminal and type
Code:
rpm -qa | grep samba
RPM will return a list of all packages samba that are installed. The smb.conf file is present in the default install but samba is not installed by default.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #8  
Old 22nd May 2009, 12:42 AM
stelios Offline
Registered User
 
Join Date: Apr 2009
Location: UK
Age: 31
Posts: 10
Quote:
Originally Posted by atifshakeel View Post
i can ping both machines from each other.
but i could not able to use interent on fedora machine which is connected to xp.
I had exactly the same problem a few years ago, while I was still using xp and I was so annoyed that I still remember what was wrong! The first thing you need to check is if your internet connection is "shared". Go to your network connection, right-click, go to advanced properties tab. There should be a "Allow network computers to use this connection" checkbox, or something along those lines, make sure that it is checked.
Then, try pinging an IP address from your fedora box:
Code:
ping 18.7.22.83
If that doesn't work, bring down your windows firewall and retry. The problem with my setup was that the free edition of the firewall I was using would not allow internet sharing.

If your xp has a fixed ip 192.168.0.1, you can solve your dns problems by adding this line to /etc/resolv.conf
HTML Code:
nameserver 192.168.0.1
Reply With Quote
  #9  
Old 22nd May 2009, 09:36 AM
atifshakeel Offline
Registered User
 
Join Date: May 2009
Posts: 20
@ Stelios

i checked the etc/resolv.conf the name server with 192.168.0.1 is already there.
i disable the windows firewall and try to ping 18.7.22.83 from fedora but failed
In my network places->WPA2 there is no workgroup computer showing not in fedora neither in xp.

i checked for the samba whether it installed or not by
rpm -qa | grep samba
samba-common -3.2.11-0 30.fc10.i386
samba 3.2.11-0 30.fc10.i386
samba-windbind -3.2.11-0 30.fc10.i386

SElinux is set to permissive
also eth0 is not up on startup i have to manually up the ethernet card by ifconfig eth0 up

i couldn't able to share internet


any one knows what may be the problem.
Reply With Quote
Reply

Tags
fedora, fedora10, ping

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
fedora no ping no internet lopez69 Servers & Networking 2 19th June 2006 09:38 AM
Cannot Ping Vie Fedora 2 nvhung2 Servers & Networking 1 12th February 2005 06:56 AM
PING - unable to ping from outside of my network defragmented Servers & Networking 1 6th February 2005 05:29 PM
fedora php ping not working avswamy Using Fedora 5 7th January 2005 12:30 PM


Current GMT-time: 09:28 (Saturday, 23-08-2014)

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