Connecting to the Internet

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
DUSwimming08
Newbie
Newbie
Posts: 1
Joined: Mon Dec 07, 2009 9:08 pm

Connecting to the Internet

Post by DUSwimming08 »

I have installed Wine and a few programs are working but when I try to register them online it says that an internet connection could not be found.
I have tried these steps that I found online:
In the Terminal window, type "hostname" without the quotes.

3) It will return your IP Address, your domain, and your hostname for your internet connection like this (xxx.xxx.xxx.xxx yourhost.yourdomain.com yourhost)

4) This result should match your whatever your local ISP values are. If they match, then we need to try something else. If they are different, follow step 5.

5) Find and open the file ~/etc/hosts and see if there is an entry for your hostname. If there is an entry, you need to change it. If there isn't an entry you need to add one. The following example assumes your hostname is "yourhost" and your network IP address is 192.168.0.2

Original Entry (may also be blank):
xxx.x.x.x yourhost.yourdomain.com yourhost

Change this to (or add, if there is no such line):
192.168.0.23 yourhost.yourdomain.com yourhost

Save, exit, reboot, and try to register those software titles again.

But this is the only thing I get when I type hostname into terminal:
First name-lastnames-MacBook-Pro:~ firstnamelastname$ hostname
firstname-lastnames-MacBook-Pro.local

In the network settings it said IPv4 address is 192.xxx.x.xx under AirPort.....When I click on the Ethernet Adaptor (en4) the IP address is 160.xxx.xx.xxx (not sure if i should send those numbers online) but says it has a self-assigned address and will not be able to connect to the internet....not really sure what it all means airport is green and ethernet adaptor is orange, while ethernet and firewire are red.....

Not really sure how to find my local ISP values and i type in that file name (~/etc/hosts) in search and nothing comes up.....sooooooooo not too much luck with the instructions yet...

Can't really figure out anything and am pretty stuck...any help would be greatly appreciated.
Charles Davis

Connecting to the Internet

Post by Charles Davis »

DUSwimming08 wrote:
I have installed Wine and a few programs are working but when I try to register them online it says that an internet connection could not be found.
I have tried these steps that I found online:
In the Terminal window, type "hostname" without the quotes.

3) It will return your IP Address, your domain, and your hostname for your internet connection like this (xxx.xxx.xxx.xxx yourhost.yourdomain.com yourhost)
It doesn't for me. And I'm running Mac OS X. All I get is the hostname.
5) Find and open the file ~/etc/hosts and see if there is an entry for your hostname. If there is an entry, you need to change it. If there isn't an entry you need to add one. The following example assumes your hostname is "yourhost" and your network IP address is 192.168.0.2
The file you really want is /etc/hosts (without the tilde).
Original Entry (may also be blank):
xxx.x.x.x yourhost.yourdomain.com yourhost

Change this to (or add, if there is no such line):
192.168.0.23 yourhost.yourdomain.com yourhost

Save, exit, reboot, and try to register those software titles again.
I have made no such modification to my hosts file, and I registered
C&C:RA3 just fine. The only lines I have in there are for the standard
localhost, and for my local hostname.
But this is the only thing I get when I type hostname into terminal:
First name-lastnames-MacBook-Pro:~ firstnamelastname$ hostname
firstname-lastnames-MacBook-Pro.local
I'm guessing you're running Mac OS X, too. Those directions are for
Linux, so I don't know if they'll work for Mac OS X.
In the network settings it said IPv4 address is 192.xxx.x.xx under AirPort.....When I click on the Ethernet Adaptor (en4) the IP address is 160.xxx.xx.xxx (not sure if i should send those numbers online) but says it has a self-assigned address and will not be able to connect to the internet....not really sure what it all means airport is green and ethernet adaptor is orange, while ethernet and firewire are red.....
The AirPort one is the one you want. A "self-assigned" address means the
OS, not your ISP, gave it that IP address, so the Ethernet adapter won't
connect to the Internet.

There's an "Advanced" button in the Network Preference Pane. If you
press that button with the AirPort adapter selected, you'll get all
sorts of information about it.
Not really sure how to find my local ISP values and i type in that file name (~/etc/hosts) in search and nothing comes up.....sooooooooo not too much luck with the instructions yet...
The reason Spotlight didn't turn up anything is that the /etc folder is
hidden from view in the Finder. It's supposed to be, to prevent clueless
users from destroying their systems. Oh by the way, there is no etc
folder in your home folder (the ~ means your home folder, typically
/Users/<your-user-name> on Mac OS X).
Can't really figure out anything and am pretty stuck...any help would be greatly appreciated.




You left out some crucial information, like which version of Wine you're
running on which version of Mac OS X. If it's 1.0.1, you really need to
upgrade to 1.1.34 (the latest version). Also, some output from running
Wine from the Terminal window would be helpful. We'd really appreciate
it if you'd give us that info.

And here's an advance warning: third-party products like WineBottler
aren't supported here.

Thank you.

Chip
Locked