virsh domifaddr shows nothing. Trying to setup IP address on guest similar to host

I am trying to get my guest machine to have an IP similar to its host machine. The address on the host is, the address on the guest I want to be:

I can set up the guest to have the ip I want by editing the

/etc/sysconfig/network-scripts/ifcfg-eth0   BOOTPRO=none NAME=eth0 DEVICE=eth0 ONBOOT=yes IPADDR= GATEWAY= 

The host machine’s /etc/sysconfig/network setup is as such:


If i use virt-manager to pop onto the guest machine and do an ip a it shows the ip ass being what I set it to.

But if I am on the host machine of that guest, then doing an `ssh root@′ comes back with:

ssh: connect to host port 22: No route to host

I double checked that ssh is indeed running. Not sure what other configs for this cent OS guest on KVM (virt-manager) to test/check?

(Before I mucked with the file it had a IP address I could ssh to.) What I didn’t test and wish I had was if it could see the outside network, I am guessing it could since I could ssh into it. This new box whose IP address is set to I cannot ping out to anything really, so guessing something else I am missing in configuring the network. Not a lot of experience here so knowing what files to open and what edits to make is difficult.

Trying to open port 8000

I have an Nvidia Jetson running Ubuntu. I am trying to set up web2py. When I use Chrome on the Jetson it displays the ‘hello world’ for web2py but when I use a browser from another machine on the local network it cannot connect.

On the Jetson:

jrraines@Georgejetson:~$   nmap localhost  Starting Nmap 7.60 ( ) at 2019-06-23 17:59 CDT Nmap scan report for localhost ( Host is up (0.00032s latency). Not shown: 995 closed ports PORT     STATE SERVICE 22/tcp   open  ssh  111/tcp  open  rpcbind  3389/tcp open  ms-wbt-server  5900/tcp open  vnc  8000/tcp open  http-alt   Nmap done: 1 IP address (1 host up) scanned in 0.17 seconds jrraines@Georgejetson:~$    jrraines@Georgejetson:~$   sudo netstat -tulpn [sudo] password for jrraines:  Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name     tcp        0      0*               LISTEN      4451/containerd      tcp        0      0*               LISTEN      9581/vino-server     tcp        0      0   *               LISTEN      3578/rpcbind         tcp        0      0 *               LISTEN      3563/systemd-resolv  tcp        0      0    *               LISTEN      4640/sshd            tcp        0      0*               LISTEN      9169/python3         tcp        0      0*               LISTEN      1/init               tcp6       0      0 ::1:5900                :::*                    LISTEN      9581/vino-server     tcp6       0      0 :::111                  :::*                    LISTEN      3578/rpcbind         tcp6       0      0 :::22                   :::*                    LISTEN      4640/sshd            tcp6       0      0 ::1:3350                :::*                    LISTEN      4632/xrdp-sesman     tcp6       0      0 :::3389                 :::*                    LISTEN      4816/xrdp            tcp6       0      0 ::1:2947                :::*                    LISTEN      1/init               udp        0      0*                           9858/chromium-brows  udp        0      0*                           9819/chromium-brows  udp        0      0  *                           3726/avahi-daemon:   udp        0      0 *                           3563/systemd-resolv  udp        0      0    *                           4404/dhcpd           udp        0      0    *                           5501/dhclient        udp        0      0 *                           4404/dhcpd           udp        0      0   *                           3578/rpcbind         udp        0      0 *                           3726/avahi-daemon:   udp        0      0   *                           3578/rpcbind         udp6       0      0 :::5353                 :::*                                3726/avahi-daemon:   udp6       0      0 :::111                  :::*                                3578/rpcbind         udp6       0      0 :::53822                :::*                                3726/avahi-daemon:   udp6       0      0 :::786                  :::*                                3578/rpcbind         udp6       0      0 :::5032                 :::*                                4404/dhcpd    

On a Raspberry Pi on the network:

pi@rpi-HRA:~ $   sudo nmap  Starting Nmap 6.47 ( ) at 2019-06-24 10:48 UTC Nmap scan report for Host is up (0.00070s latency). Not shown: 997 closed ports PORT     STATE SERVICE 22/tcp   open  ssh  111/tcp  open  rpcbind  3389/tcp open  ms-wbt-server  MAC Address: 00:E0:4C:68:00:F8 (Realtek Semiconductor)  Nmap done: 1 IP address (1 host up) scanned in 35.14 seconds 

As I look at this, it occurs to me that I have never been able to connect to the Jetson with VNC, either.

Segmentation fault (core dumped) when trying to call assembly functions from C

after running this program i got a bug ‘Segmentation fault (core dumped)’ im using Ubuntu 14.04 can someone tell me what kind of error this is and how to solve it? here is the code:

#include<stdlib.h> #include<stdio.h>  typedef struct {   char hex[17];   char dezimal[21]; }Stu;  extern Stu* _structfunc(int n); int main(int argc, char *argv[]) {         Stu* a = _structfunc(123456);         printf("%s,%s",a->hex,a->dezimal);         free (a);         return 0; }   
LEN_HEX equ 16 LEN_DEZ equ 10 LEN_STRUCT equ LEN_HEX + 1 + LEN_DEZ + 1 SECTION .data base10 dq 10 base16 dq 16 SECTION .text global _structfunc extern malloc extern free _structfunc:         push rbp         mov rbp,rsp         push rbx ;save the previous value in rdi          push rdi ;s.o.         mov rdi,LEN_STRUCT         call malloc ;adress in rax         mov rbx,rax         mov rax,[rsp]         mov rcx,LEN_HEX hex:         mov rdx,0         div qword [base16]         cmp rdx,10         jae hex_charactor         add rdx,0x30         jmp hex_end hex_charactor:         add rdx,0x37 hex_end:         mov [rbx+rcx-1],dl         loop hex         mov byte [rbx+LEN_HEX],0         mov rax,[rsp]         mov rcx, LEN_DEZ dez:         mov rdx,0         div qword [base10]         add rdx,0x30 dez_end:         mov [rbx+LEN_HEX+1+rcx-1],dl         loop dez         mov byte [rbx+LEN_STRUCT-1],0         add rsp,8         pop rbx         pop rbp         ret     

Getting error when trying to use Result type with delegate

Im tring to make a network call and instead of using callback I try to use delegate instead.using Result type where .Sucsess is T: Decodable and .failure is Error. passing my model in the .Sucsess is working but when trying to pass an error I get a compile error “Generic parameter ‘T’ could not be inferred” what am I missing ?

protocol NetworkServiceDelegate: class {     func decodableResponce<T: Decodable>(_ result: Result<T, NetworkError>) }  let dataTask:URLSessionTask = session.dataTask(with: url) { (dataOrNil, responceOrNil, errOrNil) in             if let error = errOrNil {                 switch error {                 case URLError.networkConnectionLost,URLError.notConnectedToInternet:                     print("no network connection")                     self.delegate?.decodableResponce(Result.failure(.networkConnectionLost))                 case URLError.cannotFindHost, URLError.notConnectedToInternet:                     print("cant find the host, could be to busy, try again in a little while")                 case URLError.cancelled:                     // if cancelled with the cancelled method the complition is still called                     print("dont bother the user, we're doing what they want")                 default:                     print("error = \(error.localizedDescription)")                 }                 return             }             guard let httpResponce:HTTPURLResponse = responceOrNil as? HTTPURLResponse                 else{                     print("not an http responce")                     return             }             guard let dataResponse = dataOrNil,                 errOrNil == nil else {                     print(errOrNil?.localizedDescription ?? "Response Error")                     return }             do{                 //here dataResponse received from a network request                 let decoder = JSONDecoder()                 let modelArray = try decoder.decode([Movie].self, from:                     dataResponse) //Decode JSON Response Data                 DispatchQueue.main.async {                     self.delegate?.decodableResponce(Result.success(modelArray))                 }             } catch let parsingError {                 print("Error", parsingError)             }             print("http status = \(httpResponce.statusCode)")             print("completed")         }  

Trying to fetch data from this website with ImportXML function in google sheet

I am trying to fetch store name and cashback percentage from this website using google sheet’s importxml function.

Put following commands with no success. Please help

=importxml(“”, “//div[@class=’store-list col-md-4 col-sm-6′]”)

=importxml(“”, “//div[@class=’store-name’]”)

=importxml(“”, “//div[@class=’store-cashback-value’]”)

Connection refused then trying to web host


I am trying to web host from my own internet and my own computer because I don’t want to pay for a subscription (I already bought the 4$ domain) so I looked up instructions online on how to web host using apache. and I’ve accomplished things to a point where if I type in my computer-specific IP address from devices within my local network I can access the site I’ve made (which is in the sites folder), and I wanted this to be accessible outside my own router; so I set up port…

Connection refused then trying to web host

Trying from USB. Graphics are glitched

Linux newbie, here. Trying Ubuntu on an outdated laptop. Made a bootable USB, as outlined in the tutorials and loaded everything up. Seemed to be okay until the desktop tried to load in. Instead of a solid color, there were mosaics of blue and orange. Selecting “settings” tried to open a window, but it was a window of the same mosaic. It makes everything completely un-interactible.

Trying Ubuntu 18.04.2 LTS over Windows XP. Is my graphics card not capable of running this, or is there a problem I can fix in the bootable drive?

Thanks for your help.