I tried to implement pos customer display.
Installed posbox image on raspberry pi 3
Connected printer, then prints ip address.
I tried to configure pos customer display using this below link
https://www.odoo.com/forum/help-1/question/step-by-step-guide-for-installing-customer-display-using-posbox-125783
Installed hw_customer_display on posbox
Installed pos_customer_display on odoo server
Configured pos proxy address with posbox ip address (192.168.50.36:8069)
My Odoo instance run on ubuntu 16.04 and client running on windows.
Connected customer display on windows machine. But nothing displayed.
Connect customer display on posbox, then it displays 'P'. Thats all.
Then i remove hw_scale from /root_bypass_ramdisks/etc/init.d/odoo. and tried again.
Then the letter P disappeared, nothing else.
Any solution?
Related
I've got an Arduino hooked up to a Raspberry Pi 3 via USB and feeding some analog data to a database I created.
I've set up a database on my Raspberry Pi 3 (have everything set up phpMyAdmin and MySQL). I'm feeding data into it and it works. I want to access the database through my Windows machine, though. I have Apache, phpMyAdmin, and MySQL all installed.
I'm pretty sure I've edited/copied all files correctly and I can get to localhost/phpmyadmin on my windows machine.
I'm just not sure what I need to do to get to my Pi's database from there. Working with Wifi currently. I don't necessarily have access to a router since I'm working of my apartment building's wifi. I have VPN installed on Pi but haven't really configured it yet if that's the route I need to take.
Any help appreciated
Since the database exists on your Raspberry Pi, you don't need to have MySQL installed on your Windows machine. You generally only need one MySQL server which can be accessed by many clients. In this case, since you want to use phpMyAdmin to access the data, you have the option of installing phpMyAdmin on your Windows machine or the Raspberry Pi. I highly recommend putting it on the Pi, because it simplifies the connection process to have it on the same machine that MySQL is using.
You'll need some supporting software to get phpMyAdmin running; a web server and the PHP interpreter. These are all easily available on the Raspberry Pi (depending on your operating system, of course; I use Raspbian and there are packages distributed for each). Then you'd use the web browser on your Windows machine to access the web server on the Pi (likely through the IP address; you'll have to query your Pi to figure out what the address is, perhaps with ip addr at the command prompt).
You can certainly use phpMyAdmin installed on your Windows machine instead, but then need to ensure that the MySQL daemon is listening for network connections and that you have a user permitted to connect from an external network connection (I'm seeing that many packages are restricting both of these, as a security precaution, in their distributions now). It's easy to enable yourself, but easier to just connect from a local PHP instance.
Unless your machines are on two different networks or you wish to connect to your home network from an outside connection on the Internet, you shouldn't need the VPN for this project. Your wifi is likely supplied by a router that's giving you a local address and will allow you to connect to other machines on your local network segment, so once you find the IP address you should be able to connect directly.
Thanks for taking the time and helping me out.
The Aim:
Heedlessly ssh into a Raspberry Pi 3B on my Win7 platform(s).
The problem:
I have two Raspberry Pi 2 B's that I have set up in the past with no issues incl headless setup. I have a new Raspberry Pi 3B and cannot ssh into it at all. I have followed the exact same steps I have for my Pi 2B's with exception to the image.
What I have done so far:
Download the latest Raspbian Jessie Image and format the Sd card using Win32DiskImager.
Power up the Raspberry
Ping the raspberry successfully using the Pi's IP address.
Open Putty and enter the IP on port 22 (not that the port should matter)
At this point when I try click "Open" after having entered the Pi's IP address I get the following error: "Connection Refused"
I then used a Screen and keyboard to boot the Pi 3B. Once booted I opened terminal and entered "sudo raspi-config", where I then enabled SSH manually.
I unplugged everything from the Pi3, plugged the LAN cable back into my laptop and Pi3 and powered up the Pi3B.
I could still ping the Pi
Using Putty and the Pi3B's IP address I then clicked "open" and the following error came up: "Network Error: Software cause connection abort"
EDIT:
I have now also added a router to the setup, checked up what the ip of the pi is through the router and tried connecting with putty onto the pi, but I still get "Network Error: Connection Refused"
I am running out of ideas, any help would be appreciated.
Thank you
Misha
After comically large amounts of googling and hassle I found a solution here: https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/
With the RPi3B and 11-01-2017 Raspbian Jessie combo (I dont know with which one the issue lies) one has to add a blank file named "ssh" into the boot directory of the SD card. This can be done on your Windows platform. Ensure that the file has no file extensions, because if it has any file extensions it wont work. Good practice anyway to have your file extensions showing in any case.
Hope this helps anyone else.
I have followed the exact same steps I have for my Pi 2B's...
What you didn't do is read the release notes of all the raspbian versions between your old and new image before following those steps. In one of them it says that you have to put a file (can be empty) with name ssh in the boot partition. Upon first boot ssh will be enabled and the file removed.
(Don't do what I did. I put the file 'ssh' in the boot directory of the main partition, but that turned out to be the mount point for the (small) boot partition, hiding the file 'ssh' at mount and rendering the whole exercise without effect. It took me some time before I found my mistake. You have to put the file in the small boot partition itself.)
here is what you do
go to Network & Sharing center & click on the Ethernet connection to Raspberry Pi then IPv4 & set everything to automatically(obtaining IP & DNS server)
then go to details of the Ethernet & check the autoconfiguration IPv4 & note that down.
remove sd card from Ra-Pi and mount to laptop, go to the the boot folder & open the cmdline.txt file, & add after root wait "ip=(autoconfiguration IPv4 + 1 on the last digit)" & save.
this worked for me
So I have a website that I created locally but I would like to have other team members access it. I would also like to test my site using my iPhone for testing purposes. Th thing is when I check the Xip.io (LAN only) option (shown in the image below) a URL is displayed in the empty box below it. The problem is that when I use that URL the Xip.io URL in the browser of my iPhone. Nothing displays. Is there an easier way to make my website accessible from other machines locally? Is there a file that I need to edit or are my changes correct?
Thanks
Update
I'm using my internal IP. I can access my site with my laptop but other computers connected to my network cannot access my website. I figure that maybe I need to make a change to my httpd.conf file?
Found a solution! Since I'm working in OSX
Here are my steps:
Go to System preferences Selected Network
Select Wifi (since I'm connected via Wi-fi)
Clicked on the Advanced button
Click on the TCP/IP Tab
Copy or write down the IPv4 Address:
Then
Go to to PHPAdmin
Select the database tab
Select your database
clicked on the options table
under option_name Change both values (siteurl and home ) in column option_value to the IPv4 Address you copied from System preferences
Opened MAMP Pro
entered the same IPv4 Address in the Host IP Address Field
Restart server
Helped me
I'm not sure if I understood correctly, but you can use the app Fing - network tools on your phone to scan the network and get all IP addresses on it, your computer should be one of them (on regular protection networks).
What I think what happened is that that URL is not resolved correctly on other devices, you are probably giving them your external ip, try to use the app I mentioned, find your computer and attempt to connect to the IP address you find in that app. That IP will be your internal ip address, which is what you need.
I have ejabberd installed on my windows 7 machine .I created users using the web admin and clients are connecting fine.(I am using psi). I want for the users on other machines to be able to connect and even users with android clients.
I have modified the hosts file in
C:\Windows\System32\drivers\etc\hosts
like this:
127.0.0.1 domain.tz
192.168.0.161 domain.tz
192.168.0.161 is the ip address of the machine the server is installed on.I can ping it from other machines but when i try to connect a user with let say usr: user1#domain.tz pwd: passwrd it says the server can't be reached. What do I need to do to let clients connect successfuly to my ejabberd server?I apologize if this is basic but this is my first trial on xmpp server administration.
It was a problem with my own understanding with DNS .The domain name you set up when you set up your xmpp server should be an already existing ACCESSIBLE address on the network. I found the name of my pc simply by running the famous
ipconfig/all
on windows and used the host name value as my domain while setting up ejabberd.It usually even finds it by default.
NOTE: To reconfigure ejabberd ,I uninstalled it and deleted everything in the
C:\Users\myUserName\AppData\Roaming\ejabberd.
If i didn't do so ,the last settings of the server are not deleted and you can't create your new admin account.These are my findings on ejabberd so far and I hope it helps somebody some day.
I have a windows 7 laptop and a phone, both connected to my home wifi network. I have a local site running on my IIS7 windows laptop. If I type localhost, I can see the default page.
The problem is that now I want to view that page on my phone. How can I get to it?
I tried
localhost:81
I tried getting my public ip, then putting :81 after, and it didn't work.
Anyone know how to do it?
Thanks
Your public IP address allows computers on the internet to connect to your router.
It won't work inside your local network.
You need to connect to the internal IP address of the computer itself – the one belonging to the network adapter connecting it to the router.
You can get this address from the ipconfig command, or the properties of the network adapter.