Go to advanced search

by allfox
Wed Apr 05, 2017 1:39 pm
Forum: Troubleshooting
Topic: How to allow a port listening on a firewall?
Replies: 7
Views: 6006

Re: How to allow a port listening on a firewall?

I think by default, the firewall is already installed, namely the iptables, but by default, it would accept everything. It is exist, but not functioning as a firewall. I think you should try connect to your App in LAN to make sure it does work. sudo netstat -lnp would tell you what program is listen...
by allfox
Wed Apr 05, 2017 9:08 am
Forum: Troubleshooting
Topic: [SOLVED] how restore rpi-update firmware backup
Replies: 7
Views: 3120

Re: how restore rpi-update firmware backup

You could try sudo apt. --reinstall install raspberry-kernel

I'm not sure about the package name, just something like that. Try apt search raspberry to find the name. There is a package containing the 4.4 kernel, you could reinstall it.
by allfox
Fri Mar 31, 2017 3:08 pm
Forum: Troubleshooting
Topic: Raspberry Pi 2 - External powered 3.5 HDD stops working
Replies: 17
Views: 1774

Re: Raspberry Pi 2 - External powered 3.5 HDD stops working

Excuse me for not making it clearly. I mean, when the HD crashed, what did /var/log/syslog say? I thought by crash, only the HD is down, the Pi itself is still working? I googled this USB ID a little, looks it's not that good. Not only on Pi, but also on PC: https://github.com/raspberrypi/linux/issu...
by allfox
Fri Mar 31, 2017 2:23 pm
Forum: Troubleshooting
Topic: Raspberry Pi 2 - External powered 3.5 HDD stops working
Replies: 17
Views: 1774

Re: Raspberry Pi 2 - External powered 3.5 HDD stops working

When it crashed, what did log say?
by allfox
Fri Mar 31, 2017 2:21 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.9
Replies: 289
Views: 107717

Re: Moving Linux kernel to 4.9

On Pi 3, /bin/echo none > /sys/class/leds/led1/trigger is not working now. Red PWR led stay lit.

Firmware reversion edd3e6c00078c2a8c28196030a7f2dd151c277e7 and f9c1f6aab19cb827acb4e654f363014c0edfece6 neither is working.

Not a big problem though.
by allfox
Fri Mar 31, 2017 11:36 am
Forum: Troubleshooting
Topic: dpkg-i not working
Replies: 2
Views: 398

Re: dpkg-i not working

It's "dpkg -i", note the space between dpkg and -i.
by allfox
Fri Mar 31, 2017 10:40 am
Forum: Troubleshooting
Topic: Raspberry Pi 2 - External powered 3.5 HDD stops working
Replies: 17
Views: 1774

Re: Raspberry Pi 2 - External powered 3.5 HDD stops working

Could you post /var/log/syslog , at the moments you plug the HD in and it breaks?

I think it sounds like a power problem however you mentioned the external power source. Maybe log could tell us something.
by allfox
Fri Mar 31, 2017 10:20 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 3480

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

According to http://www.pool.ntp.org/zh/use.html , the "wait" could as long as half an hour.

If you have a Internet connection, then you dont need ntpdate nor any script, Pi has ntpd equipped. All you need is wait until "ntpq -pn" print an * before a server.
by allfox
Fri Mar 31, 2017 6:25 am
Forum: General discussion
Topic: Make SD Card Read and Write Protected
Replies: 20
Views: 2908

Re: Make SD Card Read and Write Protected

I guess a label with "warranty void if take the Micro SD out of the case" would threaten some people away. Those still take the card out are determined, and when given time, could break in any consumer grade device.

So we need lawers.
by allfox
Fri Mar 31, 2017 6:06 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 3480

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

I read someone's post here about NTP recently, and think it worth to mention here. I dont have Dr Google on phone, so cant just post its URI. NTP wont set time in a instant way, like set to 9:00 from 8:59, or set to 9:00 from 9:01. Because doing so make time lost its physical nature. Time is continu...
by allfox
Fri Mar 31, 2017 5:53 am
Forum: Troubleshooting
Topic: Another GUI
Replies: 4
Views: 589

Re: Another GUI

I thought pixel is Raspbian and Xbuntu is Ubuntu.

They both are based on Debian, but not the same thing, like sibling.

If a package named with ubuntu, it wont exist in Debian, nor in Raspbian.
by allfox
Thu Mar 30, 2017 9:37 pm
Forum: Troubleshooting
Topic: Dropped packets over B+ Ethernet (USB issue?)
Replies: 7
Views: 1358

Re: Dropped packets over B+ Ethernet (USB issue?)

I ordered a camera, it delivered today. I'm getting a quite watchable video via UDP. I only have one screen, so can't be sure the multi-cast performance, could you try it? Sending site is a Raspberry Pi A+, you couldn't have a Pi slower than this. Receiving site is a laptop running Ubuntu 16.04 LTS....
by allfox
Fri Mar 24, 2017 5:13 am
Forum: General discussion
Topic: use Windows to download Raspian Jessie packages
Replies: 20
Views: 3084

Re: use Windows to download Raspian Jessie packages

sudo apt-get --print-uris --yes install samba should tell you where to download what you need for samba.
by allfox
Fri Mar 24, 2017 4:51 am
Forum: General discussion
Topic: use Windows to download Raspian Jessie packages
Replies: 20
Views: 3084

Re: use Windows to download Raspian Jessie packages

I don't really want to be taking my pi to the library. Too many questions from staff who don't understand the answers. This reminder me that once upon a time, I wanted to send an original Raspberry Pi B to Austria. My local post office looks like never known a small computer like Pi, neither sent a...
by allfox
Fri Mar 24, 2017 2:53 am
Forum: Troubleshooting
Topic: Dropped packets over B+ Ethernet (USB issue?)
Replies: 7
Views: 1358

Re: Dropped packets over B+ Ethernet (USB issue?)

It suddely comes to me that there is a tool named ncat. It directly write data from local into network. So I'm thinking about directly send /dev/video0 into network, without ffmpeg. Maybe faster.
by allfox
Fri Mar 24, 2017 2:23 am
Forum: Troubleshooting
Topic: Dropped packets over B+ Ethernet (USB issue?)
Replies: 7
Views: 1358

Re: Dropped packets over B+ Ethernet (USB issue?)

I don't know about camera. I used to have an original model B Pi, it's a slow machine, can not fill up it's own USB bus when copy file via on board ethernet. But you are talking about 10MBits. I think even original Pi are slow, they could handle 10MBits transfering. I looked your settings, while I n...
by allfox
Fri Mar 24, 2017 12:06 am
Forum: Troubleshooting
Topic: How to rule iptables best?
Replies: 4
Views: 1244

Re: How to rule iptables best?

I put my iptable rules in the script which would execute when the related interface initialize. For normal Ethernet or WiFi interface: /etc/dhcpcd.exit-hook For PPP interface: /etc/ppp/ip-up.d/ The benefit is that those script would react to carrier event, such as plug out the cable then plug in aga...
by allfox
Thu Mar 23, 2017 4:28 am
Forum: General discussion
Topic: use Windows to download Raspian Jessie packages
Replies: 20
Views: 3084

Re: use Windows to download Raspian Jessie packages

Here is a BIG text file containing all packages and their storage path in Raspbian repo: http://archive.raspbian.org/raspbian/di ... f/Packages

However, I think stderr's idea is better. Apt has super cow powers, we shall use it.
by allfox
Sat Feb 25, 2017 11:18 am
Forum: General discussion
Topic: Raspberry Pi works fine but no red light? Am I doing damage
Replies: 5
Views: 1209

Re: Raspberry Pi works fine but no red light? Am I doing dam

It's not worth to risk on power supply problem. Go get a good supply source.

Pi 3 need a 2.5A source. USB can not deliver that much. There could be strange thing happen when under load. It could eat up a lot of time to track down those problem, only to find out we need a new power source.
by allfox
Fri Feb 24, 2017 2:00 pm
Forum: General discussion
Topic: Network Throughput Discrepancy
Replies: 4
Views: 846

Re: Network Throughput Discrepancy

The HomePlug speed have a trick, they are labeled on the box with physical layer speed. But at link layer, they are cut to half. 200Mbit/s means a HomePlug AV device, means about 80 Mbit/s at link layer according to Wikipedia: https://en.wikipedia.org/wiki/HomePlug#HomePlug_AV Transferring data with...
by allfox
Thu Feb 23, 2017 3:40 pm
Forum: General discussion
Topic: Problem trying to isolate clients on Raspberry Pi Hotspot us
Replies: 4
Views: 2364

Re: Problem trying to isolate clients on Raspberry Pi Hotspo

No, on Raspbian, ap_isolate=1 would work too. I've just tried the ap_isolate=1 option on my own AP, it just work. No iptables nor ebtables is needed. I got a small web server on my PC, and connect to it using a tablet. ap_isolate=1 made a difference. A Pi router is a system that require every compon...
by allfox
Tue Feb 21, 2017 3:50 pm
Forum: General discussion
Topic: Problem trying to isolate clients on Raspberry Pi Hotspot us
Replies: 4
Views: 2364

Re: Problem trying to isolate clients on Raspberry Pi Hotspo

Greetings. How did you install hostapd? If you got it from sudo apt-get install hostapd , then I suggest you might get a newer source from http://w1.fi/hostapd/. The reason is that my own experience told me the repo version act quite strange in some condition. I'm using a RT5372 based dongle, and it...
by allfox
Sat Feb 18, 2017 11:29 am
Forum: General discussion
Topic: Recomendation for Bootable HDD
Replies: 25
Views: 3983

Re: Recomendation for Bootable HDD

I'm copying the almost always hit reply again: do you power the drive and Pi properly? The motor in HDD needs a spinning up. It eats more during that process. Those big desktop HDD use 12V to power the motor, which always comes from an external power supply, so they could be well feeded. For those s...
by allfox
Fri Feb 17, 2017 6:02 pm
Forum: General discussion
Topic: Recomendation for Bootable HDD
Replies: 25
Views: 3983

Re: Recomendation for Bootable HDD

I'm using a WD Red 1TB drive with a Pi 3. It needs the 12V power source. I have the root file system on it, but not directly boot from it. While it works, I bought it wishing it would be quiet and faster as an NAS, however, I expected too much. Maybe in a real(BIG) server environment could it be bet...

Go to advanced search