LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Wine & A networking Issue (https://www.linuxquestions.org/questions/fedora-35/wine-and-a-networking-issue-155667/)

xrekonx 03-09-2004 10:33 PM

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!

1kyle 03-10-2004 04:57 AM

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
¦

xrekonx 03-10-2004 05:50 PM

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!

amatin 03-29-2004 07:17 PM

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


All times are GMT -5. The time now is 10:51 PM.