Re: Was: setting up network q, now no x

2023-08-13 Thread gene heskett

On 8/12/23 19:07, Greg Wooledge wrote:

On Sat, Aug 12, 2023 at 06:37:30PM -0400, gene heskett wrote:

I need X running so I can use firefox to go get and build the rest of the
software I am building this thing to run.


Then why on earth are you installing a full Desktop Environment?

If you need to use Firefox to obtain files and then compile them, then
what you need are xorg, firefox-esr, build-essential, and some kind of
simple window manager.  twm would suffice, or fvwm, or whatever you're
comfortable with.  Hell, in theory you could skip the window manager and
just run "startx firefox" or something.  You'd be limited to a single
browser window, but that's not a crippling limitation.


Today I'll copy off the net changes, rewrite its sd card with the iso 
and restore the net changes b4 putting the sd card back in the bpi. From 
there I'll install ff, nginx, build-essential, + dhelper maybe and see 
if that pulls in what it needs thru those deps.  Unless you know an even 
better way. build-essential will likely be needed for kiauh.



Or, as an alternative, you could obtain the files from another machine,
and copy them over.  Then you only need build-essential, and NONE of the
rest.

This kit of utils to run a printer is far superior to octoprint, 
installed and maintained by kiauh, needs a full time X and FF to control 
the printer. It a 2-way web server using nginx to run the printer and 
display it. From that install, I can watch the printer and control it, 
from anyplace on my local net. The default browser armbian uses is 
chromium, but chromium has hijacked port 80 for google adv bs so 
chromium doesn't work but FF.esr does. https to 8080 works, http to 80 
doesn't. Googles hunger for your data knows no limits. We need another 
Judge Green.



(For a given value of "build", of course.  You may need other development
tools beyond build-essential, but we can't advise you on that without more
information.)



Maybe this helps...


I would absolutely NOT install GNOME unless you need it for something
more than just launching a web browser.

.

Pulling in nearly 800 pkgs triple underscores that point.
synaptic must also run.

Thanks Greg.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Was: setting up network q, now no x

2023-08-12 Thread Greg Wooledge
On Sat, Aug 12, 2023 at 06:37:30PM -0400, gene heskett wrote:
> I need X running so I can use firefox to go get and build the rest of the
> software I am building this thing to run.

Then why on earth are you installing a full Desktop Environment?

If you need to use Firefox to obtain files and then compile them, then
what you need are xorg, firefox-esr, build-essential, and some kind of
simple window manager.  twm would suffice, or fvwm, or whatever you're
comfortable with.  Hell, in theory you could skip the window manager and
just run "startx firefox" or something.  You'd be limited to a single
browser window, but that's not a crippling limitation.

Or, as an alternative, you could obtain the files from another machine,
and copy them over.  Then you only need build-essential, and NONE of the
rest.

(For a given value of "build", of course.  You may need other development
tools beyond build-essential, but we can't advise you on that without more
information.)

I would absolutely NOT install GNOME unless you need it for something
more than just launching a web browser.



Was: setting up network q, now no x

2023-08-12 Thread gene heskett

On 8/12/23 17:32, Greg Wooledge wrote:

On Sat, Aug 12, 2023 at 04:01:49PM -0400, gene heskett wrote:

Step one: determine the NAME of your ethernet interface.


eth0



Step two: edit /etc/network/interfaces to bring up this interface with
your desired IP address, netmask, and gateway.  If there's a running
DHCP client daemon (because the installer set it up for DHCP instead
of static addressing), you may need to kill that daemon.  Or, if you're
especially clever, you can bring the interface DOWN, BEFORE editing
the file, which will kill the daemon cleanly.  Most people forget this
step, so they just end up killing the daemon later, with "kill" or
by rebooting.


interface had lo already
added
iface eth0 inet static
address 192.168.71.55
gateway 192.168.71.2

correct? editor saved to do resolv.conf next


You're missing "auto eth0".

No, I just didn't show it, auto is valid for whatever comes later, so 
"auto lo eth0" is as good as it gets.  And I've no clue where the 1 
turned into a 2. its 1 and works.



Are you sure your router's address ends with .2?  Usually networks are
set up with the router at .1.  It's not required, of course.  But it's
unusual for it not to be.


That daemons name?


How the heck would we know?  You're not running Debian.

ps -ef | grep -i dhc

That should cover variants of names like "dhclient" or "dhcpcd".  I guess
"pump" is also a possibility, but I don't think anyone has used pump in
many years.

Or you could just reboot to ensure it dies.


It's good over several reboots.

Now the problem is no X.  I used apt to install gnome which was nearly 
800 packages of gnome, & which failed majorly on mcollective and its 
pluggins (whatever the heck that is, no man pages for it and apt cannot 
now remove them either,) the underlying dpkg is having a cow.  Of the 
top pkg managers, only aptitude will run but that thing has totally 
destroyed my system 4 times over the last decade and change by not 
showing me what it was going to do first. So I don't trust aptitude to 
take the period off the end of a sentence.


Apparently x11 has been totally replaced by xwayland, and xwayland will 
not allow a package manager to run as root. There is probably a 
workaround I'm not acquainted with, so I'm DIW and sinking.


I have another bpi running this same jammy and have had no such problems.

Thanks Greg.

I need X running so I can use firefox to go get and build the rest of 
the software I am building this thing to run.


Next?

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



network Q.: host name gets .local added after sometime

2009-06-05 Thread H.S.
Hello,

I have a Debian Unstable machine connected to an old machine running as
a router. The router is running dnsmasq and my local network is
configured as home.pvt.

This Unstable machine is given the name of Blue by the dnsmasq server on
on the router using dhcp (based on Blue's mac address). However, I have
noticed that after some days, Blue's name on the network changes to
Blue.local. The relevant syslog line in Blue appears to be:
May 31 20:04:47 blue avahi-daemon[3514]: Server startup complete. Host
name is blue.local. Local service cookie is 3941174068.

I have to run dhclient on blue again to get the IP address again and to
update its name in dnsmasq as blue.

Anybody know what I should look for to prevent this addition of .local
to the hostname? Or can somebody explain what is going on here?

Thanks.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread Osamu Aoki
On Fri, Jun 05, 2009 at 12:48:16PM -0400, H.S. wrote:
 Hello,
 
 I have a Debian Unstable machine connected to an old machine running as
 a router. The router is running dnsmasq and my local network is
 configured as home.pvt.
 
 This Unstable machine is given the name of Blue by the dnsmasq server on
 on the router using dhcp (based on Blue's mac address). However, I have
 noticed that after some days, Blue's name on the network changes to
 Blue.local. The relevant syslog line in Blue appears to be:
 May 31 20:04:47 blue avahi-daemon[3514]: Server startup complete. Host
 name is blue.local. Local service cookie is 3941174068.
 
 I have to run dhclient on blue again to get the IP address again and to
 update its name in dnsmasq as blue.
 
 Anybody know what I should look for to prevent this addition of .local
 to the hostname? Or can somebody explain what is going on here?

The hostname resolution via Multicast DNS (using Zeroconf, aka Apple
Bonjour / Apple Rendezvous) which effectively allows name resolution by
common Unix/Linux programs in the ad-hoc mDNS domain local, can be
provided by installing the libnss-mdns package. The /etc/nsswitch.conf
file should have stanza like hosts: files mdns4_minimal
[NOTFOUND=return] dns mdns4 to enable this functionality.

See:
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread H.S.
Osamu Aoki wrote:
 On Fri, Jun 05, 2009 at 12:48:16PM -0400, H.S. wrote:
 Hello,

 I have a Debian Unstable machine connected to an old machine running as
 a router. The router is running dnsmasq and my local network is
 configured as home.pvt.

 This Unstable machine is given the name of Blue by the dnsmasq server on
 on the router using dhcp (based on Blue's mac address). However, I have
 noticed that after some days, Blue's name on the network changes to
 Blue.local. The relevant syslog line in Blue appears to be:
 May 31 20:04:47 blue avahi-daemon[3514]: Server startup complete. Host
 name is blue.local. Local service cookie is 3941174068.

 I have to run dhclient on blue again to get the IP address again and to
 update its name in dnsmasq as blue.

 Anybody know what I should look for to prevent this addition of .local
 to the hostname? Or can somebody explain what is going on here?
 
 The hostname resolution via Multicast DNS (using Zeroconf, aka Apple
 Bonjour / Apple Rendezvous) which effectively allows name resolution by
 common Unix/Linux programs in the ad-hoc mDNS domain local, can be
 provided by installing the libnss-mdns package. The /etc/nsswitch.conf
 file should have stanza like hosts: files mdns4_minimal
 [NOTFOUND=return] dns mdns4 to enable this functionality.
 
 See:
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution

Spot on! Nice.

I have the file with these contents:
--
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc Name Service Switch' for information about this file.

passwd: compat
group:  compat
shadow: compat

hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis
--


So I supposed I just need to recorder the 'hosts' line to:
hosts:  files dns mdns4_minimal [NOTFOUND=return] mdns4

I hope I am on the right track.

BTW, I wonder what is the purpose of the default order of this line to
being with? Why is mdns4_minimal before dns?

Regards.





-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread Osamu Aoki
On Fri, Jun 05, 2009 at 02:17:32PM -0400, H.S. wrote:
 Osamu Aoki wrote:
  See:
  http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
 
 Spot on! Nice.
... 
 So I supposed I just need to recorder the 'hosts' line to:
 hosts:  files dns mdns4_minimal [NOTFOUND=return] mdns4
 
 I hope I am on the right track.

I did not analyse your problem much in detail.  But reading docs around
/usr/share/doc/libnss-mdns is the next step.

 BTW, I wonder what is the purpose of the default order of this line to
 being with? Why is mdns4_minimal before dns?

Read /usr/share/doc/libnss-mdns


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread H.S.
Osamu Aoki wrote:
 On Fri, Jun 05, 2009 at 02:17:32PM -0400, H.S. wrote:
 Osamu Aoki wrote:
 See:
 http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
 Spot on! Nice.
 ... 
 So I supposed I just need to recorder the 'hosts' line to:
 hosts:  files dns mdns4_minimal [NOTFOUND=return] mdns4

 I hope I am on the right track.
 
 I did not analyse your problem much in detail.  But reading docs around
 /usr/share/doc/libnss-mdns is the next step.
 
 BTW, I wonder what is the purpose of the default order of this line to
 being with? Why is mdns4_minimal before dns?
 
 Read /usr/share/doc/libnss-mdns
 
 

I read the Debian and the files quickly. I am not very familiar with
mdsn so I didn't understand everything. Only that the order is fixed
during package installation and is not updated later. I have changed the
order with dns in the second place.

Thanks for the pointers.
Regards.




-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread H.S.
H.S. wrote:

 
 I read the Debian and the files quickly. I am not very familiar with
 mdsn so I didn't understand everything. Only that the order is fixed
 during package installation and is not updated later. I have changed the
 order with dns in the second place.

which is no go :(


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: network Q.: host name gets .local added after sometime

2009-06-05 Thread Osamu Aoki
On Fri, Jun 05, 2009 at 04:30:31PM -0400, H.S. wrote:
 H.S. wrote:
 
  
  I read the Debian and the files quickly. I am not very familiar with
  mdsn so I didn't understand everything. Only that the order is fixed
  during package installation and is not updated later. I have changed the
  order with dns in the second place.
 
 which is no go :(

Why not remove libnss-mdns .
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Network Q again

2000-05-26 Thread Brad
On Thu, May 25, 2000 at 12:06:46PM -0700, Jay Kelly wrote:
 Where does Debiean keep all the network settings(ie ip, subnet, gateway)? I
 need to change it and cant find anything in the howto's

It depends. For a static ethernet configuration, /etc/init.d/network or
/etc/network/interfaces. For an ethernet configuration using bootp or
dhcp, this info is supplied by the bootp/dhcp server and automatically
set up by the bootp/dhcp client. For most ppp connections, pppd gets the
information and sets up the networking, but sometimes this is configured
statically in the pppd config files (pppconfig really helps here). There
are other situations.

To manupilate the routing table, look into the route command. To
manipulate the ip address, broadcast address, netmask, and such, look
into ipconfig. For pppd/dhcp/whatever if you use them, look into the
docs for those programs. If you use /etc/network/interfaces, look at
the docs for that file and the ifup and ifdown commands.


-- 
  finger for GPG public key.


pgpI3nx0LhSdg.pgp
Description: PGP signature


network Q

2000-05-25 Thread Jay Kelly
Hello Guys,
I have a network qestion. If my ip is 172.19.32.10 and a subnet of 255.0.0.0
what would my broadcast be? 172.255.255.255 ?



Network Q again

2000-05-25 Thread Jay Kelly
Where does Debiean keep all the network settings(ie ip, subnet, gateway)? I
need to change it and cant find anything in the howto's
Thanks



Re: network Q

2000-05-25 Thread Nathan E Norman
On Thu, May 25, 2000 at 11:56:34AM -0700, Jay Kelly wrote:
 Hello Guys,
 I have a network qestion. If my ip is 172.19.32.10 and a subnet of 255.0.0.0
 what would my broadcast be? 172.255.255.255 ?

Yes.

-- 
Nathan Norman Eschew Obfuscation  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgpBUqVyXaUCh.pgp
Description: PGP signature


Re: Network Q again

2000-05-25 Thread Steve Zinck
On Thu, May 25, 2000 at 12:06:46PM -0700, Jay Kelly wrote:
 Where does Debiean keep all the network settings(ie ip, subnet, gateway)? I
 need to change it and cant find anything in the howto's

/etc/init.d/network

-- 
Steve Zinck [EMAIL PROTECTED]
http://nerd.halifax.ns.ca



Network Q

2000-05-25 Thread Jay Kelly
When I configure eth1 with ip, netmask, etc. then do a ifconfig all the
information will show. After rebooting I do a ifconfig and all the
information is now gone. How do I make sure it stays?



Re: Network Q

2000-05-25 Thread Didi Damian
I'm not sure I understand what you mean. I'll take it that you do an
'ifconfig' with all the info and that enables your eth1. However, after
a reboot the information is lost. If this is the case, *and* you are
running potato, the configuration is stored in /etc/network/interfaces.
If you are running slink I'm sure somebody else will help you as I don't
remember.

* Jay Kelly [EMAIL PROTECTED] [25-05-2000 05:13 PM -0700]
 When I configure eth1 with ip, netmask, etc. then do a ifconfig all the
 information will show. After rebooting I do a ifconfig and all the
 information is now gone. How do I make sure it stays?
-- 
Didi Damian :: [EMAIL PROTECTED] :: www.debiandiary.f2s.com

Debian GNU/Linux,
when code matters more than commercials   |  8:29pm  up 3 days,  3:30,  



Re: Network Q

2000-05-25 Thread Matthew Dalton
Didi Damian wrote:
 
 I'm not sure I understand what you mean. I'll take it that you do an
 'ifconfig' with all the info and that enables your eth1. However, after
 a reboot the information is lost. If this is the case, *and* you are
 running potato, the configuration is stored in /etc/network/interfaces.
 If you are running slink I'm sure somebody else will help you as I don't
 remember.

/etc/init.d/network, I think...

Matthew



Re: Network Q

2000-05-25 Thread Marshal Wong
 Jay == Jay Kelly [EMAIL PROTECTED] writes:

 When I configure eth1 with ip, netmask, etc. then do a ifconfig
 all the information will show. After rebooting I do a ifconfig
 and all the information is now gone. How do I make sure it
 stays?

edit the /etc/network/interfaces file.

Marshal

 -- Unsubscribe?  mail -s unsubscribe
 [EMAIL PROTECTED]  /dev/null