LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-09-2004, 10:33 PM   #1
xrekonx
LQ Newbie
 
Registered: Feb 2004
Location: Northwood , OH - USA
Distribution: Redhat, Slackware and Gentoo (Learning)
Posts: 19

Rep: Reputation: 0
Wine & A networking Issue


Well, I have been going through distribution after distribution, just checking them all out... and here are the two issues I have come across with Fedora.

First off, Wine. I downloaded the latest , wine-20040213-1fc1winehq.i386.rpm and also wine-20040121-1fc1winehq.i386.rpm . When I try to install Ventrilo, I recieve the following error..

Code:
err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ?
I have been able to install Wine on Redhat and Slackware with no problems but with Fedora I get this error. I have googled it and found out that its a known issue with Fedora. I have followed some tips about modifying the prelink. This is the fix that supposedly help some out,

Code:
PRELINK_OPTS="-mR --no-exec-shield"
I still recieve same error, after many reboots and prelink -au and prelink-a.

Any ideas or has anyone found a different fix?



Second question, for some odd reason on Fedora I can't ping my router? I will try best to describe how my setup is setup, let me know if you need more information

Code:
Cable Modem
|
|
|-> Zonet 8 Port Switch
      |
      |-> My Windows XP / Fedora Box ( 65.31.50.146 ) 
      |
      |-> 4 Port NetGear Router ( 65.31.50.114 / 255.255.254.0 )
      |     |
      |     |->  Red Hat Box ( 192.168.0.2 )
      |     |
      |     |-> Brothers Comp
      |     |
      |     |-> Mail Server
      |     |
      |     |-> WAP
      |
      |-> Step Fathers Computer

Ok I hope that helps. Now heres my scenario... I can log onto XP and load webpages and ping the Red Hat box just fine. Same the other way around, the red hat box can ping the XP one.

Once I log onto Fedora though, its a completly different situation. I can not ping either way. I have a DHCP assigned address, and it remains the same. Anybody have any suggestions?

Actually now that I am thinking about it.. I might have to use the same MAC address that I have in Windows. I will check it out and get back to whomever. Thanks for the help!
 
Old 03-10-2004, 04:57 AM   #2
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
With networking -- the easier way is to start without DHCP / any other stuff and just try configuring it manually

So if your router (Netgear) has its IP address 192.168.0.1 (gateway)

set your Linux box as say 192.168.0.2 or whatever your router wants -- it'll be in the manual what IP addresses to use

Then for the DNS names set these up to what you got from your ISP / Cable co.

so


ADSL / Cable in =======> ADSL MODEM====>ROUTER====>LAN Switch


LAN Switch

====> Router 192.168.0.1

====>LINUX BOX 192.168.0.3 (say)

====> Windows etc

====> Other computer


This should work -- then mess around with DHCP etc.


Good Luck
 
Old 03-10-2004, 05:50 PM   #3
xrekonx
LQ Newbie
 
Registered: Feb 2004
Location: Northwood , OH - USA
Distribution: Redhat, Slackware and Gentoo (Learning)
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Quote:
set your Linux box as say 192.168.0.2 or whatever your router wants -- it'll be in the manual what IP addresses to use
This is done, I manually specified it, and its functional. This situation is very strange because I have no problem connecting to my mail server ( 192.168.0.3 ) from Fedora. On Windows XP I can ping, connect to apache server on the Red Hat box, and so forth. So can everyone else on the internet, just not when I am logged onto Fedora. I did finally notice this though, when I am on XP my IP address is 24.166.216.250, but when I am on Fedora it is 65.31.50.146. I can browse any website from Fedora, so the IP is valid, but just not my own! It's really weird and I am totally confused why its doing it. I think I will now try to log onto Fedora and specify my IP as 24.166.216.250. Whenever my DHCP lease is up I will jsut have to redo it I guess. Thanks for the help!
 
Old 03-29-2004, 07:17 PM   #4
amatin
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
In regards to your wine problem, I found this solution on a wine list, and it works for me:

Hi!

>>>> >>
>>>> >> Put this into your /etc/rc.local
>>>> >> echo "0" > /proc/sys/kernel/exec-shield
>>
>>> >
>>> > Just out of curiosity, what *is* that file, and what does it do?
>
>>
>> Under UNIX everything is a file, this is 'just' a file to which the kernel
>> listens. Everything in /proc and and /sys (2.6 kernel) are variables or
>> monitors for the kernel and kernel-modules.
>>
>> There is some special kernel patch called "execution shield" which checks if
>> a program behaves 'correctly'. Wine triggers this 'shield' very often. It
>> is a non-standard patch, but is included in the RedHat kernels by default.
>>
>> This command is to disable it.
>>

BTW, this command disables the exec-shield functionality for all the processes
running on the system, which may be a bit unwise...
There is a command called setarch, which allows to disable exec-shield on a
per-proces basis. Simply call "setarch i586 wine <arguments>" and it will start
wine with exec-shield disabled, while other processes will still be protected
by it.
I'm not using Redhat/Fedora, but I patched my kernel with exec-shield to improve
system security; I'm running wine from a simple wrapper called swine :-)) (for
"setarch wine") and I have no problem with it...
WIth regards, Pavel Troller
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking issue antare Linux - Networking 1 03-12-2005 08:11 AM
JDS - Networking issue varmadsv Linux - Networking 0 02-13-2005 01:16 PM
Slack 9.1 Networking issue Diminished7th Linux - Networking 2 07-06-2004 12:56 AM
networking issue illkunundrum Linux - Newbie 1 09-27-2003 11:14 PM
Linux & Windows Networking Issue Stephanie Linux - Networking 4 08-22-2001 11:35 AM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration