rejetto forum

login sometimes error while using hfs in wine ubuntu,help me

rohman · 10 · 6689

0 Members and 1 Guest are viewing this topic.

Offline rohman

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
using hfs in wine ubuntu sometimes cannot login just error like no connection,but sometimes work if I click repeatly will show dialog box login...help me thanks
it's normal while using hfs in windows


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
witch version of Ubuntu ? 14 lts? 16 lts?

which version of Wine?
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing



Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
it could be, i'v used ubuntu 14 lts and wine version 1.6, and haven't had an issue, it looks like you changed the port number though...

this info helps me setup my test bed, i will get back to you over the weekend with my results.

i'll be using a virtual machine for the test bed...
http://www.osboxes.org/ubuntu/
« Last Edit: September 01, 2016, 05:26:30 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline rohman

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
I didn't change port number,I just redirect port 90 to 8080 using router mikrotik
and I use DDNS to my dynamic IP Public

I'll waiting for your answer :)


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
i have done multiple test and from what i can see it your router and how you are directing traffic ... "nat" the ip address to the ubuntu and port 8080

*"there is still a known port change problem using hfs in wine ubuntu"
- just use port 8080 and "nat" traffic in networking device / iptables to control traffic....

https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables
https://www.howtoforge.com/nat_iptables
http://askubuntu.com/questions/320121/simple-port-forwarding

Nat and port forwarding can become complicated fast, and is dependent per system and network setup... i can't post a one fix all answer with nat and portforwards....

*double check you portforwards and router settings.

as you are changing how the device connects form port to port...
you can add an iptable to direct port 90 traffic to port 8080 on the hfs box....

(some thing like iptables -L 192.168.0.x:8080:192.168.0.x:90 ) - don't know the full command....

Quote
I didn't change port number,I just redirect port 90 to 8080 using router mikrotik
and I use DDNS to my dynamic IP Public

I'll waiting for your answer :)

*NOTE:
http://askubuntu.com/questions/104824/port-forward-to-a-port-on-the-same-machine
https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules

terminal (may need sudo) if your reboot you will need to run the command again...
here is the iptable command to redirect port to port on same machine...
Code: [Select]
sudo iptables -t nat -A PREROUTING -p tcp --dport 90 -j REDIRECT --to 8080
this alows ip conection via port 8080 and port 90
« Last Edit: September 23, 2016, 05:22:02 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline rohman

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
I still don't have solution for this problem,
if I remove username and password it's totally normal but when I try login sometimes error like that
help me,
and how to make ip table in hfs?


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
So first! UPDAE AND UPGRADE TO THE FURTHER MOST VERSION!

----------
although i prefer ubuntu with mate (gui is better...)
https://ubuntu-mate.org/download/


ubuntu 14 is getting old and some stuff are no longer working... i recommenced upgrading to 16 lts...
https://help.ubuntu.com/lts/serverguide/installing-upgrading.html
http://www.ubuntu.com/download/desktop/upgrade
Code: [Select]
sudo do-release-upgrade
###########################
Once on lts 16...
Wine is changing over, so we wil be using a better/ more uptodate one wine 1.8 ....

https://www.winehq.org/download/
Latest stable release:
Wine 1.8.4
Latest development release:
Wine 1.9.19


First we need to add the install sources to our source list file
*run lines one at a time!

open termianl:

since you are having so much toruble with wine, let start form scratch1
REMOVE EVERYTHING WINE RELATED!

Code: [Select]
sudo apt-get remove --purge wine\*
Code: [Select]
sudo apt-get --purge remove wineSo I did the following (make sure to copy the exact commands):

Code: [Select]
rm -r "$HOME/.wine"
rm  $HOME/.config/menus/applications-merged/wine*
rm -r "$HOME/.local/share/applications/wine"
rm $HOME/.local/share/desktop-directories/wine*
rm $HOME/.local/share/icons/????_*.xpm
These commands delete files stored in hard disk that may lock uninstallation of wine. Quite possibly you will get some warnings about rm: remove write-protected regular file here. These can be enforced collectively by using the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!

After deleting the files run command:

Code: [Select]
sudo apt-get remove --purge wineDo the following to correct any installation error.

Code: [Select]
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
-- my upgrade kept wine 1.6 and is causing problems, after the purge, everything works great....

Code: [Select]
sudo add-apt-repository ppa:wine/wine-builds
sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update

now install the software:
Run 1 line at a time! answer yes! ...

Code: [Select]
sudo apt-get install --install-recommends winehq-devel
sudo apt-get install --install-recommends wine-staging
sudo apt-get install winehq-staging
---------------------------------------
*updated version may still have port issue (port 90 in use by system..., but was successfully able to change to pot 8090 etc...)

now we are ready to install wine...


https://wiki.winehq.org/Winetricks
Code: [Select]
sudo apt-get install winetricks
now open winetricks!

install the netframe work! "mono"
Code: [Select]
sudo apt-get install mono-vbncinstall gecko (this will help HFS ALOT!)
https://wiki.winehq.org/Gecko
Code: [Select]
sudo apt-get install wine-gecko
in winetrick click "select default wine prefix" > run wine config
configure it for windows xp....
click ok,
in wine tricks click cancle / cancle to close

Now lets run hfs...
(you may need to right mouse click run open with wine windows program loader)
« Last Edit: September 23, 2016, 05:47:28 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
still sucess, please try to previous post by upgrading to lts and reinstalling wine!

also the iptables command is added for your port 90 to port 8080....
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing