Re: [arch-general] nftables partially broken after kernel update to 4.16.9

2018-05-29 Thread Bill Sun via arch-general
On Tue, May 22, 2018 at 10:43:36AM +0100, Ralph Corderoy wrote: > https://www.archlinux.org/packages/extra/x86_64/nftables/ says > Flagged out-of-date on 2018-05-11 > Version 1:0.8.5-1 in testing > so perhaps that new version would help? I'm happy to report that after updating to the latest

Re: [arch-general] nftables partially broken after kernel update to 4.16.9

2018-05-22 Thread Bill Sun via arch-general
On Tue, May 22, 2018 at 08:58:47AM +0200, David Runge wrote: > Does only the nft command fail, or does it work, when it's in a > configuration file? Only the nft command fails, it seems. I guess I'll wait for the latest in the test repo and see what happens. Regards.

[arch-general] nftables partially broken after kernel update to 4.16.9

2018-05-21 Thread Bill Sun via arch-general
Hi all, I just updated one of my computer to 4.16.9. After update, the following nft commands will not work: nft add table ip nat <--- this one works without error nft add chain ip nat prerouting { type nat hook prerouting priority 0 \; } ^ This will give me the following erro

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
> But the new problem is: Why this service automatically start? I never > manually enabled mdmonitor, and I cannot find its link in > /etc/systemd/system/ . OK, it seems that the unit is somehow a dependence for some other units: $ systemctl is-enabled mdmonitor static And I just masked th

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
Ah, I found the problem: I never configured an email address in /etc/mdadm.conf But the new problem is: Why this service automatically start? I never manually enabled mdmonitor, and I cannot find its link in /etc/systemd/system/ . Regards.

Re: [arch-general] mdmonitor.service failed to start

2014-06-23 Thread Bill Sun
On Mon, Jun 23, 2014 at 09:57:46AM -0500, Sander Jansen wrote: > I don't think the service failed to start, The ExecStartPre starts with an > -, so it's allowed to fail to start that script, but unit isn't considered > failed: > > mdmonitor.service - MD array monitor >Loaded: loaded (/usr/lib/

[arch-general] mdmonitor.service failed to start

2014-06-21 Thread Bill Sun
Hi, I noticed that my mdmonitor.service failed to start with the following error message: Failed at step EXEC spawning /usr/lib/systemd/scripts/mdadm_env.sh: No such file or directory My mdadm package version is 3.3.1-2. Should I create such a script on my own? Regards.

Re: [arch-general] systemd start a daemon after the Internet connection is established

2013-09-16 Thread Bill Sun
On Sun, Sep 08, 2013 at 07:27:34PM +0200, Lukas Jirkovsky wrote: > On 8 September 2013 18:37, Bill Sun wrote: > > When the server is connected to the Internet, this service file can > > launch the proxy successfully, but it doesn't work on system startup, > > suppos

[arch-general] systemd start a daemon after the Internet connection is established

2013-09-08 Thread Bill Sun
Hi, I have a web proxy that can only initiate itself online, otherwise it would exit with an error. To daemonize that proxy, I wrote the following systemd service file: [Unit] Description=A Proxy Server After=network.target [Service] Type=simple ExecStart=/srv/proxy/aprox

[arch-general] BAT1: Unable to dock after suspend to RAM

2013-04-16 Thread Bill Sun
Hi, I noticed there's alway an 'Unable to dock' error message after suspend to RAM: PM: Saving platform NVS memory Disabling non-boot CPUs ... smpboot: CPU 1 is now offline smpboot: CPU 2 is now offline smpboot: CPU 3 is now offline Extended CMOS year: 2000 ACPI: Low-le

Re: [arch-general] Forward all PPTP VPN packets to another proxy?

2013-03-26 Thread Bill Sun
On Sat, Mar 23, 2013 at 08:30:10PM +0800, Hexchain Tong wrote: > On Sat, Mar 23, 2013 at 2:39 PM, Bill Sun wrote: > > > > I'm thinking about running a http server that handles all the > > authentication for Server 2 (such as dante?), then forward all packets > > t

[arch-general] Forward all PPTP VPN packets to another proxy?

2013-03-23 Thread Bill Sun
Hi, Currently I have a arch linux server running PPTP VPN (for iOS devices only), and I forward all PPTP VPN packets to local eth0: iptables -A POSTROUTING -s -o eth0 -j MASQUERADE Now I got a external proxy, and I want all the traffic currently through the PPTP VPN then through that extenal

Re: [arch-general] rEFInd 0.6.4 + linux 3.7.2-1 fail to boot

2013-01-14 Thread Bill Sun
On Mon, Jan 14, 2013 at 11:33:56PM -0200, André Vitor de Lima Matos wrote: > > Em 14-01-2013 18:39, Dave Reisner escreveu: > > Oh the irony... Please subscribe to arch-dev-public if you're going to > > continue to use the testing repository: > > > > https://mailman.archlinux.org/pipermail/arch-dev-

Re: [arch-general] VPS can't access after update filesystem?

2012-06-17 Thread Bill Sun
On Sun, Jun 17, 2012 at 09:19:43PM +0800, Bill Sun wrote: > Problem solved. Thanks. I probably should put a more comprehensive solution here. I consulted the 'Xen' [1] entry in archwiki, and add: MODULES="xen-blkfront xen-fbfront xenfs xen-netfront xen-kbdfront" to 

Re: [arch-general] VPS can't access after update filesystem?

2012-06-17 Thread Bill Sun
On Wed, Jun 13, 2012 at 04:29:44PM -0700, Kevin Arthur wrote: > Looks like your initramfs got borked when you updated the kernel. Make > sure to read the recent news article [1] about systemd-tools replacing > udev (and maybe the last question in the troubleshooting section of the > pacman wiki pa

Re: [arch-general] VPS can't access after update filesystem?

2012-06-13 Thread Bill Sun
I got the error message: ERROR: device '/dev/xvda1' not found. Skipping fsck. ERROR: Unable to find root device '/dev/xvda1'. You are being dropped to a recovery shell Type 'exit' to try and continue booting sh: can't access tty; job control turned off Regards

Re: [arch-general] VPS can't access after update filesystem?

2012-06-12 Thread Bill Sun
On Tue, Jun 12, 2012 at 05:43:52PM +0200, Tom Gundersen wrote: > Did you follow the instructions in the news item? > > One thing to try would be "pacman -Syu --ignore filesystem", reboot Can't do that. Because 'kernel26-lts' needed to be replaced by 'linux- lts', if I don't update 'filesystem', the

[arch-general] VPS can't access after update filesystem?

2012-06-12 Thread Bill Sun
Hi, I rent a VPS from a not-so-famous provider, and they use XEN. After I updated my system on Jun 10 (I update my system every Sundays), My VPS seems dead. I can't ssh to it, I can't ping to it, I can't do anything to it. I don't get any error message from the SolusVM control panel---it says: 'on

Re: [arch-general] Is fcitx must executed under a chinese locale?

2012-05-17 Thread Bill Sun
On Tue, May 15, 2012 at 09:22:41PM -0400, adrian sun wrote: > Yaaa, thanks i solved this problem. Just specified xim for english locale > under gtk module file. Hmm...Maybe you don't have to manually edit /etc/gtk-2.0/gtk.immodules, specifying xim for english locale. You just need to install fcitx-

Re: [arch-general] Is fcitx must executed under a chinese locale?

2012-05-15 Thread Bill Sun
On Tue, May 15, 2012 at 12:36:42AM -0400, adrian sun wrote: > Oh. Thanks! > I also check some wikis, I don't know why only firefox and chromium cannot > use fcitx. All other applications works well with fcitx. > Install 'fcitx-gtk2' and/or 'fcitx-gtk3'. Cheers.

Re: [arch-general] Google Voice through iptables?

2012-04-27 Thread Bill Sun
On Thu, Apr 26, 2012 at 10:28:00AM -0500, Leonid Isaev wrote: > On Thu, 26 Apr 2012 10:56:47 +0800 > Bill Sun wrote: > > So... does your GV work now? Yes! (Oops, I forgot to mention that...) Thanks.

Re: [arch-general] Google Voice through iptables?

2012-04-25 Thread Bill Sun
On Wed, Apr 25, 2012 at 12:35:46PM -0500, Leonid Isaev wrote: > Assuming you are running a desktop machine, why would you want to DROP by > default all outgoing traffic? AFAICT google voice app makes you browser > establish some UDP connecyions + https. So here are few observations regarding > your

[arch-general] Google Voice through iptables?

2012-04-25 Thread Bill Sun
Hi, I just tried to use google voice to contact someone, after 2 'dialing sounds', I couldn't hear anything. After I stopped iptables, I can make phone calls via google voice successfully. I searched the web, and found 2 possible solutions: [1] and [2]. Then I added iptables rules according to th

Re: [arch-general] How to set grub2 resolution to 1366x768

2012-02-25 Thread Bill Sun
On Tue, Feb 21, 2012 at 10:02:37AM -0500, Calvin Morrison wrote: > > This whole thing is strange. I am running ubuntu/arch/win7 with grub2 and > everything works perfectly. I am running an X220 as well with the intel > sandy bridge. Is there a spot where this is set in my grub.cfg? If i could > pi

Re: [arch-general] How to set grub2 resolution to 1366x768

2012-02-21 Thread Bill Sun
Hi, According your posts, should I file a bug report directly to lenovo? Regards, Bill

Re: [arch-general] How to set grub2 resolution to 1366x768

2012-02-21 Thread Bill Sun
On Tue, Feb 21, 2012 at 05:51:29AM +0100, Ralf Mardorf wrote: > Did you check by running "sudo hwinfo --framebuffer" too? It shouldn't > differ, but perhaps there's something fishy with vbeinfo. I just checked `sudo hwinfo --framebuffer`, the attachment below is the result. Cheers, Bill 02: None 0

Re: [arch-general] How to set grub2 resolution to 1366x768

2012-02-20 Thread Bill Sun
Hi, @Keshav P R: I tried: set gfxmode="1366x768;auto" It didn't give me a 1366x768 console; instead, grub2 just gave me a 1024x768 console. @Thomas Courbon: Yes, I just tried the 'auto' parameter, and, indeed, it didn't change anything. I just update my BIOS to the latest version---1.2.6, and

[arch-general] How to set grub2 resolution to 1366x768

2012-02-20 Thread Bill Sun
Hi, I want to have a 1366x768 resolution for grub2. Unfortunately, `vbeinfo` shows that my computer doesn't support that resolution (up to 960x640/1024x768). So, can I load some additional modules for grub2 so that it can support 1366x786 resolution in my computer? I tried to do the following ste