• General Linux Chat and Small Questions v. Install Arch
    4,946 replies, posted
[QUOTE=Rayjingstorm;38766667]It might be a suitable replacement, but I was hoping there was somehting almost clone-like that could replace it.[/QUOTE] I may be dead wrong, but why not use Wine?
[QUOTE=supervoltage;38767745]I may be dead wrong, but why not use Wine?[/QUOTE] Not native, I suppose. The same reason people use GIMP instead of Photoshop. Or at least that would be one of the reasons.
It's not as though WINE is out of the question, but again this is for others who use OneNote a lot and personally I don't want anything I use on a regular basis to be dependant upon WINE. I just started using Zim and it's a wonderful program that does what it needs without bells and whistles, but for some it has too limited a feature set.
[QUOTE=ichiman94;38764486]Well, I have a 80 GB hard drive, Arch Linux itself took almost all of its 25 GB partition. The system went fine, had everything I needed, even the 32 bit libs for WINE.[/QUOTE] My actual Gentoo partition is only 100GB (my biggest partition is 1.1 TB for storage so I didn't lose my shit when I had to reinstall Windows), and I have enough free space on my storage and Windows OS partitions that I can probably shrink them and tack them onto the end of my Gentoo partition if I need to. Only reason 50GB is used is because Steam
[QUOTE=T3hGamerDK;38768158]Not native, I suppose. The same reason people use GIMP instead of Photoshop. Or at least that would be one of the reasons.[/QUOTE] Personally I prefer something that works than nothing at all, and if he wants a OneNote clone, there's never gonna be anything better than OneNote itself. And wine is native, anyway.
[QUOTE=gparent;38770342]Personally I prefer something that works than nothing at all, and if he wants a OneNote clone, there's never gonna be anything better than OneNote itself. And wine is native, anyway.[/QUOTE] Wine isn't native, what are you on about? It's a translator, a compability layer. Therefore it cannot possibly be native.
[QUOTE=T3hGamerDK;38775032]Wine isn't native, what are you on about? It's a translator, a compability layer. Therefore it cannot possibly be native.[/QUOTE] But it's still running native code, it's just a shim between Windows and Linux.
[QUOTE=danharibo;38775040]But it's still running native code, it's just a shim between Windows and Linux.[/QUOTE] As I've understood it, wine translates non-native calls to native-calls. So you're right that it "runs" native code, if by running you mean translates.
I could argue the same thing about the jvm. It takes foreign calls and translates them to native calls. In fact thats the same thing for scripting languages. You could go as far as virtual machines, who translate calls (virtual hardware, machine instructions, etc.) to native sysem calls. The reason things run through wine aren't native is because of the translation layer.
Not sure if this is a linux question or an ISP question but here goes: I used to run a minecraft server on an old laptop with Debian. It ran nicely, but then i had to switch ISP, and my new ISP is a small local one, so they don't give out ip adresses as the old one used to do. That means I am behind NAT from my router, and then probably more NAT from the ISP, as the IP adress is shared by approximately 500-600~ users. In online games, my NAT is "open" or whatever though. Now i can't access either shh or the Minecraft server from outside. I have also tried non-standard ports. Is there a config file or something i have to change? Any fancy router settings?(already port forwarded) or do i have to talk to the ISP? I don't want to pay or an ip address, so it'd be greatly preferred if i could solve it myself.
[QUOTE=the_grul;38777317]Not sure if this is a linux question or an ISP question but here goes: I used to run a minecraft server on an old laptop with Debian. It ran nicely, but then i had to switch ISP, and my new ISP is a small local one, so they don't give out ip adresses as the old one used to do. That means I am behind NAT from my router, and then probably more NAT from the ISP, as the IP adress is shared by approximately 500-600~ users. In online games, my NAT is "open" or whatever though. Now i can't access either shh or the Minecraft server from outside. I have also tried non-standard ports. Is there a config file or something i have to change? Any fancy router settings?(already port forwarded) or do i have to talk to the ISP? I don't want to pay or an ip address, so it'd be greatly preferred if i could solve it myself.[/QUOTE] Find another ISP. If you're not in control of your IP adress, then you don't have the freedom to decide what goes in or out.
Ugh, I hate this. I can't set the time on Arch. I've used timedatectl to set the time to UTC but it doesn't do anything (timedatectl set-local-rtc 0). NTP doesn't work for whatever oblivious reason. The hardware time is accurate, but I can't set the system time. I need the system time to use the TOR network. Can you guys help me with this?
[QUOTE=T3hGamerDK;38777498]Find another ISP. If you're not in control of your IP adress, then you don't have the freedom to decide what goes in or out.[/QUOTE] This is the only ISP in the area. I can get my own IP from them but ill have to pay. What i want to know if i i can do it with what i've got.
[QUOTE=the_grul;38778909]This is the only ISP in the area. I can get my own IP from them but ill have to pay. What i wan't to know if i i can do it with what i've got.[/QUOTE] As I wrote, if you're not in control of your IP, then you don't decide what goes in or out.
[QUOTE=the_grul;38778909]This is the only ISP in the area. I can get my own IP from them but ill have to pay. What i wan't to know if i i can do it with what i've got.[/QUOTE] I'm afraid there's not much you can do without your own IP address.
[QUOTE=supervoltage;38778711]Ugh, I hate this. I can't set the time on Arch. I've used timedatectl to set the time to UTC but it doesn't do anything (timedatectl set-local-rtc 0). NTP doesn't work for whatever oblivious reason. The hardware time is accurate, but I can't set the system time. I need the system time to use the TOR network. Can you guys help me with this?[/QUOTE] ntpd ignores values if they're too far from the system clock (the maximum difference is something like two minutes I think). There's a flag to force it to use the first value it fetches, bypassing that restriction. And I believe you should be calling `timedatectl set-local-rtc true` if your real time clock is adjusted to the local timezone.
[QUOTE=IpHa;38778993]I'm afraid there's not much you can do without your own IP address.[/QUOTE] How come it is so?
[QUOTE=the_grul;38779200]How come it is so?[/QUOTE] It's like trying to write to someone who doesn't have an address.
[QUOTE=danharibo;38779274]It's like trying to write to someone who doesn't have an address.[/QUOTE] I'm interested in how it works. I can receive webpages and shit, so how come i can't host a server?
[QUOTE=the_grul;38778909]This is the only ISP in the area. I can get my own IP from them but ill have to pay. What i wan't to know if i i can do it with what i've got.[/QUOTE] What ISP anyways? I didn't even think many ISPs were doing carrier-grade NAT yet. Go ask them if they have IPv6! Pretty sad if they don't at least give you a publicly routed v6 address and do CGN. Also, you mention how games say your NAT is "open" - perhaps your ISP is allowing you to have NAT traversal using UPnP? (Basically how UPnP works is that the game tells the UPnP-aware device on your network "please send stuff directed to port 54321 to port 54321 on my computer", and then the UPnP-aware device follows its orders). So try the package gupnp-tools in Debian to add a manual forward to your laptop. If you don't have much experience with networking, it will probably confuse your pants off, but it's worth a shot if you're bored, want to learn something new, and don't want to shell out money. [editline]10th December 2012[/editline] [QUOTE=the_grul;38779538]I'm interested in how it works. I can receive webpages and shit, so how come i can't host a server?[/QUOTE] If I call your phone and your mother answers it and your mother wasn't informed to hand the phone to you (and if I don't tell her to), you will never receive the call. Yet if you want to call me, you pick the phone up yourself and ring, and then I just answer my phone. Pretty straightforward analogy IMO.
[QUOTE=HarryHy;38779571]What ISP anyways? I didn't even think many ISPs were doing carrier-grade NAT yet. [/QUOTE] It's a small local danish ISP. I don't know much more than the fact that getting your own IP address costs money.
[QUOTE=the_grul;38779899]It's a small local danish ISP. I don't know much more than the fact that getting your own IP address costs money.[/QUOTE] I live in Denmark, hit me up if you need some help with those kind of things. I've been in those waters for quite a while.
[QUOTE=the_grul;38779899]It's a small local danish ISP. I don't know much more than the fact that getting your own IP address costs money.[/QUOTE] As HarryHy said, it shouldn't cost much if they offer IPv6 addresses, which are a dime a /48. IPv4 addresses can be quite costly and are being rationed, and their value is quite possibly stopping the wider adoption of IPv6. Still, NAT punching is always an option if you are willing to try.
[QUOTE=T3hGamerDK;38775032]Wine isn't native, what are you on about? It's a translator, a compability layer. Therefore it cannot possibly be native.[/QUOTE] It's native in the sense that you're not emulating Windows in the background to accomplish what's happening on screen. You're literally implementing the WinAPI, one function entry point at a time. [QUOTE=HarryHy;38779571]If I call your phone and your mother answers it and your mother wasn't informed to hand the phone to you (and if I don't tell her to), you will never receive the call. Yet if you want to call me, you pick the phone up yourself and ring, and then I just answer my phone. Pretty straightforward analogy IMO.[/QUOTE] That analogy is pretty decent actually, however it fails to explain how multiple clients can dial out. I'll explain it more purely for the benefit of that guy, and not to nitpick on your example. When your connections go out, your ISP rewrites your packets so that they seem to come from a public IP rather than the Internal IP. It writes this in a database, so that when the packets come back, it knows where to return the traffic (based on IP/port used). So when you browse [URL="http://www.google.ca"]www.google.ca[/URL], it's only because you're the one initiating the connection that the packets know how to return home. When people from the outside try to contact you, they don't get that help. They reach your ISP's router/NAT gateway and since there won't be a translation entry for the port they're trying to reach, it won't work.
[QUOTE=gparent;38780111]It's native in the sense that you're not emulating Windows in the background to accomplish what's happening on screen. You're literally implementing the WinAPI, one function entry point at a time. That analogy is pretty decent actually, however it fails to explain how multiple clients can dial out. I'll explain it more purely for the benefit of that guy, and not to nitpick on your example. When your connections go out, your ISP rewrites your packets so that they seem to come from a public IP rather than the Internal IP. It writes this in a database, so that when the packets come back, it knows where to return the traffic (based on IP/port used). So when you browse [URL="http://www.google.ca"]www.google.ca[/URL], it's only because you're the one initiating the connection that the packets know how to return home. When people from the outside try to contact you, they don't get that help. They reach your ISP's router/NAT gateway and since there won't be a translation entry for the port they're trying to reach, it won't work.[/QUOTE] So you could set up a server by reversing connecting? Or rather, instead have a central outside client, through which all connections from clients are routes through, and then to the server. The connection starts with the server sending a connection to the client router, and then the clients are free to connect. Would that work?
[QUOTE=T3hGamerDK;38780194]So you could set up a server by reversing connecting? Or rather, instead have a central outside client, through which all connections from clients are routes through, and then to the server. The connection starts with the server sending a connection to the client router, and then the clients are free to connect. Would that work?[/QUOTE] Yes, a good example of that would be a SIP proxy, which usually sits on your NAT edge. People internally connect to the SIP proxy, and everyone else in the outside world contacts the proxy whenever they make calls to people inside. I'd replace SIP by HTTP, but SIP works both ways so it's a better analogy. Reverse connection is also how trojans manage to contact their C&C servers so that they can be controlled by them. If you had to contact each infected machine individually, there'd be very little chances that you actually got through the various NATs/Firewalls in place.
Is it a common mistake to forget to compile the kernel?
[QUOTE=TheEyes;38789366]Is it a common mistake to forget to compile the kernel?[/QUOTE] It's usually what takes the longest, so I'm not sure how you'd forget it :v:
What's going on with the browser in this image? I would love to browse dark themed or low contrast. [img]http://images.4chan.org/wg/src/1355208524728.png[/img]
[QUOTE=codl;38779040]ntpd ignores values if they're too far from the system clock (the maximum difference is something like two minutes I think). There's a flag to force it to use the first value it fetches, bypassing that restriction. And I believe you should be calling `timedatectl set-local-rtc true` if your real time clock is adjusted to the local timezone.[/QUOTE] I've fixed it another way: [code][supervoltage@supervoltage-linpc ~]$ sudo ntpdate 0.europe.pool.ntp.org 11 Dec 19:28:00 ntpdate[2113]: step time server 46.19.33.2 offset -7203.793994 sec [supervoltage@supervoltage-linpc ~]$ hwclock Tue 11 Dec 2012 09:28:15 PM EET -0.687262 seconds[/code] Still, thank you very much!
Sorry, you need to Log In to post a reply to this thread.