انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

آخرین ارسال‌ها

صفحه: 1 [2] 3 4 ... 10
11
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط Chappie 24 آبان 1404، 11:14 ب‌ظ »
نقل‌قول
چه مدلی را نیاز دارید؟

اول میخواستم این رو بخرم [1] ولی استعلام گرفتن و نشد , بعد از طریق یک شرکتی که تجهیزات مخابراتی وارد میکرد اقدام کردم برای خرید این [2] که اونهم گفت مشکلاتی برامون پیش اومده که اونهم نشد , SDR دوم [2] هم ساخت جدید هست و هم توسط فردی توسعه داده شده که در [1] مشارکت داشته و برای گوش دادن به سیگنال ها از خیلی از SDR ها سرتر هست , خلاصه اینکه بخاطر شرایط کشور نشد .
[1] https://www.ebay.com/itm/174204158948
[2] https://hydrasdr.com/hydrasdr-rfone-advanced-software-defined-radio-receiver-now-available/

- - -

نقل‌قول
حدس من اینه که اگر خود فرد آنتن رو درست بکنید، بسیار کم‌هزینه‌تر باشه. توی آلمان شما تنها در صورتی که مجوز رادیو آماتوری داشته باشید، امکان ساخت و دستکاری دستگاه‌ها و آنتن‌های رادیویی رو دارید، در غیر اینصورت باید اون‌ها رو به صورت آماده بخرید. البته حساسیت اصلی در ارسال هستش، نه در دریافت. حالا شرایط ایران رو نمی‌دونم.

شاید بد نباشه که مجوز رادیو آماتوری رو بگیرید و آنتن رو خودتون درست کنید. هم یادگیریه، هم تفریح، هم کم‌هزینه‌تره.

فرمایش شما صحیح هست , ولی برای فقط گوش دادن به سیگنال ها منع قانونی وجود نداره و همونطور که گفتید فقط ارسال نیاز به گواهینامه داره تا اونجایی که من میدونم .
12
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط nixoeen 24 آبان 1404، 10:59 ب‌ظ »
حدس من اینه که اگر خود فرد آنتن رو درست بکنید، بسیار کم‌هزینه‌تر باشه. توی آلمان شما تنها در صورتی که مجوز رادیو آماتوری داشته باشید، امکان ساخت و دستکاری دستگاه‌ها و آنتن‌های رادیویی رو دارید، در غیر اینصورت باید اون‌ها رو به صورت آماده بخرید. البته حساسیت اصلی در ارسال هستش، نه در دریافت. حالا شرایط ایران رو نمی‌دونم.

شاید بد نباشه که مجوز رادیو آماتوری رو بگیرید و آنتن رو خودتون درست کنید. هم یادگیریه، هم تفریح، هم کم‌هزینه‌تره.
13
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط esmaeelE 24 آبان 1404، 10:25 ب‌ظ »
البته یک نکته رو هم اضافه کنم , بعد از جنگ ۱۲ روزه قصد داشم که یک SDR از این سایتهای معروف بخرم و از طریق مالتینا که لینکش رو بهتون دادم اقدام کردم ولی متاسفانه قوانین گمرک بعد از جنگ سخت گیرانه تر شد و مالتینا  استعلامی برام گرفت از گمرک و گمرک درخواستم رو رد کرد و نتونستم رادیونرم افزاری مورد نظرم رو تهیه کنم , فعلا تنها راهی که داشتم هم بسته شده . در مورد خرید خود آنتن فعلا مشکلی نیست و میتونید از طریق مالتینا اقدام کنید .
چه مدلی را نیاز دارید؟

14
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط Chappie 24 آبان 1404، 08:37 ب‌ظ »
البته یک نکته رو هم اضافه کنم , بعد از جنگ ۱۲ روزه قصد داشم که یک SDR از این سایتهای معروف بخرم و از طریق مالتینا که لینکش رو بهتون دادم اقدام کردم ولی متاسفانه قوانین گمرک بعد از جنگ سخت گیرانه تر شد و مالتینا  استعلامی برام گرفت از گمرک و گمرک درخواستم رو رد کرد و نتونستم رادیونرم افزاری مورد نظرم رو تهیه کنم , فعلا تنها راهی که داشتم هم بسته شده . در مورد خرید خود آنتن فعلا مشکلی نیست و میتونید از طریق مالتینا اقدام کنید .   
15
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط Chappie 24 آبان 1404، 08:08 ب‌ظ »
بسیار عالی , من از این آنتن استفاده میکنم [1] , از آمازون خرید کرده بودم , البته خود دانگل و آنتن رو یکجا خریده بودم , شما اگر این آنتن رو در ایران نتونستید تهیه کنید میتونید از طریق این سایت [2] از آمازون خرید کنید , البته متاسفانه چندماهی طول میکشه به دستتون برسه . در مورد آنتنهای دیگه نظری ندارم چون تست نکردم . 

[1] https://www.amazon.com/dp/B075445JDF
[2] https://malltina.com/
16
انجمن عمومی / پاسخ : نصب Debian Debootstrap (حل شد)
« آخرین ارسال توسط norouzi90 24 آبان 1404، 05:58 ب‌ظ »
 Install+Debian 13+Debootstrap+Systemd+Minimal+The Arch way

###########################################################################################################
#######################Install+Debian 13+Debootstrap+Systemd+Minimal+The Arch way##########################
###########################################################################################################
##### To install Debian as Debootstrap, use one of the live Debian distributions.##########################
###########################################################################################################
##### This is how my system partitioning is, you can change them according to your system partitioning.####
##### /dev/sda1 for efi, /dev/sda2 for swap, /dev/sda3 for root, /dev/sda4 for home #######################
###########################################################################################################
##### Before you run these commands, you should first partition your hard drive, for example with gparted.#
##### The mkfs commands used here are only for formatting the desired partition, not for creating it.######
##### For example, we formatted the partition with mkfs to ext4 or fat 32.#################################
###########################################################################################################
##### In the following commands, replace yourhostname with your desired host name and yourusername ########
##### with your desired username.##########################################################################
###########################################################################################################
##### In the following commands, replace yourhostname with your desired host name and yourusername ########
##### with your desired username.##########################################################################
###########################################################################################################
##### On the command line, be sure to note the difference between user@debian:~$ and ######################
##### root@debian:~# and root@debian:/#, which represent completely different paths.#######################
###########################################################################################################
##### you need to decide if you want sudo or doas in order to elevate your user’s privileges for###########
##### updates, etc… This is your choice.Debian provides a pre-configured sudoers file, and you ############
##### probably don’t need to change anything, but it’s wise to verify that the line #######################
##### under “allow members of group sudo …” is not commented out with the cat /etc/sudoers command.########
##### Look at the output, and if the line is commented out, use the visudo command and uncomment it.#######
###########################################################################################################



user@debian:~$ sudo apt install tmux

user@debian:~$ tmux

user@debian:~$ sudo su -
root@debian:~#

root@debian:~# apt update && apt install debootstrap arch-install-scripts -y

root@debian:~# mkfs.fat -F 32 /dev/sda1

root@debian:~# mkswap /dev/sda2

root@debian:~# swapon /dev/sda2

root@debian:~# mkfs.ext4 /dev/sda3

root@debian:~# mkfs.ext4 /dev/sda4

root@debian:~# mount /dev/sda3 /mnt

root@debian:~# mkdir -p /mnt/{boot,home}

root@debian:~# mount /dev/sda4 /mnt/home

root@debian:~# mkdir -p /mnt/boot/efi

root@debian:~# mount /dev/sda1 /mnt/boot/efi

root@debian:~# mount | grep sda

root@debian:~# ls  /usr/share/debootstrap/scripts/

root@debian:~# /usr/sbin/debootstrap  --variant=minbase --include=vim  trixie  /mnt  http://deb.debian.org/debian/

root@debian:~# genfstab -U /mnt >> /mnt/etc/fstab

root@debian:~# echo deb http://deb.debian.org/debian trixie main contrib non-free-firmware non-free > /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian-security trixie-security main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian/ trixie-updates main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list
 
root@debian:~# arch-chroot /mnt
root@debian:/#

root@debian:/# apt update

root@debian:/# apt install systemd systemd-sysv libpam-systemd libsystemd0

root@debian:/# apt install linux-image-amd64

root@debian:/# dpkg-reconfigure tzdata

root@debian:/# apt install network-manager-gnome

root@debian:/# echo "yourhostname" > /etc/hostname


root@debian:/#  echo "127.0.0.1       localhost yourhostname" > /etc/hosts
root@debian:/# echo  "::1             localhost ip6-localhost ip6-loopback" >> /etc/hosts
root@debian:/# echo "fe00::0         ip6-localnet" >> /etc/hosts
root@debian:/# echo "ff00::0         ip6-mcastprefix" >> /etc/hosts
root@debian:/# echo "ff02::1         ip6-allnodes"  >>  /etc/hosts
root@debian:/# echo "ff02::2         ip6-allrouters" >> /etc/hosts

root@debian:/# apt install locales

root@debian:/# dpkg-reconfigure locales

root@debian:/# apt install console-setup

root@debian:/# dpkg-reconfigure keyboard-configuration

root@debian:/# passwd

root@debian:/# useradd -m yourusername

root@debian:/# passwd yourusername

root@debian:/# usermod -aG cdrom,floppy,audio,dip,video,plugdev,netdev yourusername

root@debian:/# usermod -s /bin/bash yourusername

root@debian:/# apt install sudo

root@debian:/# usermod -aG sudo yourusername

root@debian:/# cat /etc/sudoers

root@debian:/# apt install e2fsprogs

root@debian:/# apt install firmware-linux

root@debian:/# apt install grub-efi-amd64

root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi

root@debian:/# update-grub

root@debian:/# apt clean

root@debian:/# exit

root@debian:~# rm /mnt/etc/resolv.conf

root@debian:~# umount /dev/sda1

root@debian:~# umount /dev/sda4

root@debian:~# umount /dev/sda3

root@debian:~# reboot

########################################################################################################################
########################################################################################################################

#####################################################################################


Install+Debian 13+Debootstrap+SysV+MATE Desktop+The Arch way

###########################################################################################################
#######################Install+Debian 13+Debootstrap+SysV+MATE Desktop+The Arch way########################
###########################################################################################################
##### To install Debian as Debootstrap, use one of the live Debian distributions.##########################
###########################################################################################################
##### This is how my system partitioning is, you can change them according to your system partitioning.####
##### /dev/sda1 for efi, /dev/sda2 for swap, /dev/sda3 for root, /dev/sda4 for home #######################
###########################################################################################################
##### Before you run these commands, you should first partition your hard drive, for example with gparted.#
##### The mkfs commands used here are only for formatting the desired partition, not for creating it.######
##### For example, we formatted the partition with mkfs to ext4 or fat 32.#################################
###########################################################################################################
##### In the following commands, replace yourhostname with your desired host name and yourusername ########
##### with your desired username.##########################################################################
###########################################################################################################
##### On the command line, be sure to note the difference between user@debian:~$ and ######################
##### root@debian:~# and root@debian:/#, which represent completely different paths.#######################
###########################################################################################################
##### you need to decide if you want sudo or doas in order to elevate your user’s privileges for###########
##### updates, etc… This is your choice.Debian provides a pre-configured sudoers file, and you ############
##### probably don’t need to change anything, but it’s wise to verify that the line #######################
##### under “allow members of group sudo …” is not commented out with the cat /etc/sudoers command.########
##### Look at the output, and if the line is commented out, use the visudo command and uncomment it.#######
###########################################################################################################
#####I am installing the Mate desktop here, but you can install another desktop according to your taste.###
###########################################################################################################
#####I am installing the lightdm display manager here, but you can install another display manager#########
#####according to your taste.##############################################################################
###########################################################################################################



user@debian:~$ sudo apt install tmux

user@debian:~$ tmux

user@debian:~$ sudo su -
root@debian:~#

root@debian:~# apt update && apt install debootstrap arch-install-scripts -y

root@debian:~# mkfs.fat -F 32 /dev/sda1

root@debian:~# mkswap /dev/sda2

root@debian:~# swapon /dev/sda2

root@debian:~# mkfs.ext4 /dev/sda3

root@debian:~# mkfs.ext4 /dev/sda4

root@debian:~# mount /dev/sda3 /mnt

root@debian:~# mkdir -p /mnt/{boot,home}

root@debian:~# mount /dev/sda4 /mnt/home

root@debian:~# mkdir -p /mnt/boot/efi

root@debian:~# mount /dev/sda1 /mnt/boot/efi

root@debian:~# mount | grep sda

root@debian:~# ls  /usr/share/debootstrap/scripts/

root@debian:~# /usr/sbin/debootstrap  --variant=minbase --include=vim  trixie  /mnt  http://deb.debian.org/debian/

root@debian:~# genfstab -U /mnt >> /mnt/etc/fstab

root@debian:~# echo deb http://deb.debian.org/debian trixie main contrib non-free-firmware non-free > /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian-security trixie-security main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian/ trixie-updates main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list
 
root@debian:~# arch-chroot /mnt
root@debian:/#

root@debian:/# apt update

root@debian:/# apt install sysvinit-core sysv-rc orphan-sysvinit-scripts elogind libpam-elogind

root@debian:/# apt-mark hold systemd systemd-sysv  libpam-systemd

root@norouzi:~# cat > /etc/apt/preferences.d/nosystemd << "EOF"
> Package: systemd
> Pin: release *
> Pin-Priority: -1
>
> Package: systemd-sysv
> Pin: release *
> Pin-Priority: -1
>
> Package: libpam-systemd
> Pin: release *
> Pin-Priority: -1
> EOF
root@debian:/#

root@norouzi:~# apt-mark showhold

root@debian:/# apt install linux-image-amd64

root@debian:/# dpkg-reconfigure tzdata

root@debian:/# apt install network-manager-gnome

root@debian:/# echo "yourhostname" > /etc/hostname

root@debian:/# echo "127.0.0.1       localhost" > /etc/hosts
root@debian:/# echo "127.0.1.1       yourhostname" >> /etc/hosts     
root@debian:/# echo "::1             localhost ip6-localhost ip6-loopback" >> /etc/hosts
root@debian:/# echo "fe00::0         ip6-localnet" >> /etc/hosts
root@debian:/# echo "ff00::0         ip6-mcastprefix" >> /etc/hosts
root@debian:/# echo "ff02::1         ip6-allnodes"  >>  /etc/hosts
root@debian:/# echo "ff02::2         ip6-allrouters" >> /etc/hosts

root@debian:/# apt install locales

root@debian:/# dpkg-reconfigure locales

root@debian:/# apt install console-setup

root@debian:/# dpkg-reconfigure keyboard-configuration

root@debian:/# passwd

root@debian:/# useradd -m yourusername

root@debian:/# passwd yourusername

root@debian:/# usermod -aG cdrom,floppy,audio,dip,video,plugdev,netdev yourusername

root@debian:/# usermod -s /bin/bash yourusername

root@debian:/# apt install sudo

root@debian:/# usermod -aG sudo yourusername

root@debian:/# cat /etc/sudoers

root@debian:/# apt install grub-efi-amd64

root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi

root@debian:/# update-grub

root@debian:/# apt install firmware-linux

root@debian:/# apt install mate-desktop-environment

root@debian:/# apt install mate-desktop-environment-extras

root@debian:/# apt install lightdm

root@debian:/# mkdir /etc/inittab.d

root@debian:/# apt clean

root@debian:/# exit

root@debian:~# rm /mnt/etc/resolv.conf

root@debian:~# umount /dev/sda1

root@debian:~# umount /dev/sda4

root@debian:~# umount /dev/sda3

root@debian:~# reboot

###########################################################################################################
###########################################################################################################
#####After rebooting, if you do not see the Plymouth page during boot and shutdown, follow these steps#####
#####to resolve the issue:#################################################################################
#####add the splash option to the file  /etc/default/grub  , as follows: ##################################

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

##### then ##############################

username@hostname:~$ sudo update-grub

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting,if you have no output sound and no sound , just run the following commands: ##########

username@hostname:~$ sudo apt purge pipewire-alsa --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting,If you see the following errors in the related logs when shutting down the system: ###
##### "ModemManager[1601]: <msg> [base-manager] couldn't check support for device /sys/devices/pci000...."#
##### "ModemManager[1601]: <wrn> couldn't acquire the org.freedesktop.ModemManager1 service name...."######
################################## just run the following commands: #######################################

username@hostname:~$ sudo apt purge modemmanager --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

########################################################################################################################
########################################################################################################################

#####################################################################################

Install+Debian 13+Debootstrap+OpenRC+MATE Desktop+The Arch way

###########################################################################################################
#######################Install+Debian 13+Debootstrap+OpenRC+MATE Desktop+The Arch way######################
###########################################################################################################
##### To install Debian as Debootstrap, use one of the live Debian distributions.##########################
###########################################################################################################
##### This is how my system partitioning is, you can change them according to your system partitioning.####
##### /dev/sda1 for efi, /dev/sda2 for swap, /dev/sda3 for root, /dev/sda4 for home #######################
###########################################################################################################
##### Before you run these commands, you should first partition your hard drive, for example with gparted.#
##### The mkfs commands used here are only for formatting the desired partition, not for creating it.######
##### For example, we formatted the partition with mkfs to ext4 or fat 32.#################################
###########################################################################################################
##### In the following commands, replace yourhostname with your desired host name and yourusername ########
##### with your desired username.##########################################################################
###########################################################################################################
##### On the command line, be sure to note the difference between user@debian:~$ and ######################
##### root@debian:~# and root@debian:/#, which represent completely different paths.#######################
###########################################################################################################
##### you need to decide if you want sudo or doas in order to elevate your user’s privileges for###########
##### updates, etc… This is your choice.Debian provides a pre-configured sudoers file, and you ############
##### probably don’t need to change anything, but it’s wise to verify that the line #######################
##### under “allow members of group sudo …” is not commented out with the cat /etc/sudoers command.########
##### Look at the output, and if the line is commented out, use the visudo command and uncomment it.#######
###########################################################################################################
#####I am installing the Mate desktop here, but you can install another desktop according to your taste.###
###########################################################################################################
#####I am installing the lightdm display manager here, but you can install another display manager#########
#####according to your taste.##############################################################################
###########################################################################################################



user@debian:~$ sudo apt install tmux

user@debian:~$ tmux

user@debian:~$ sudo su -
root@debian:~#

root@debian:~# apt update && apt install debootstrap arch-install-scripts -y

root@debian:~# mkfs.fat -F 32 /dev/sda1

root@debian:~# mkswap /dev/sda2

root@debian:~# swapon /dev/sda2

root@debian:~# mkfs.ext4 /dev/sda3

root@debian:~# mkfs.ext4 /dev/sda4

root@debian:~# mount /dev/sda3 /mnt

root@debian:~# mkdir -p /mnt/{boot,home}

root@debian:~# mount /dev/sda4 /mnt/home

root@debian:~# mkdir -p /mnt/boot/efi

root@debian:~# mount /dev/sda1 /mnt/boot/efi

root@debian:~# mount | grep sda

root@debian:~# ls  /usr/share/debootstrap/scripts/

root@debian:~# /usr/sbin/debootstrap  --variant=minbase --include=vim  trixie  /mnt  http://deb.debian.org/debian/

root@debian:~# genfstab -U /mnt >> /mnt/etc/fstab

root@debian:~# echo deb http://deb.debian.org/debian trixie main contrib non-free-firmware non-free > /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian-security trixie-security main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian/ trixie-updates main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list
 
root@debian:~# arch-chroot /mnt
root@debian:/#

root@debian:/# apt update

root@debian:/# apt install openrc sysvinit-core  orphan-sysvinit-scripts elogind libpam-elogind

root@debian:/# apt-mark hold systemd systemd-sysv  libpam-systemd

root@norouzi:~# cat > /etc/apt/preferences.d/nosystemd << "EOF"
> Package: systemd
> Pin: release *
> Pin-Priority: -1
>
> Package: systemd-sysv
> Pin: release *
> Pin-Priority: -1
>
> Package: libpam-systemd
> Pin: release *
> Pin-Priority: -1
> EOF
root@debian:/#

root@norouzi:~# apt-mark showhold

root@debian:/# apt install linux-image-amd64

root@debian:/# dpkg-reconfigure tzdata

root@debian:/# apt install network-manager-gnome

root@debian:/# echo "yourhostname" > /etc/hostname

root@debian:/# echo "127.0.0.1       localhost" > /etc/hosts
root@debian:/# echo "127.0.1.1       yourhostname" >> /etc/hosts     
root@debian:/# echo "::1             localhost ip6-localhost ip6-loopback" >> /etc/hosts
root@debian:/# echo "fe00::0         ip6-localnet" >> /etc/hosts
root@debian:/# echo "ff00::0         ip6-mcastprefix" >> /etc/hosts
root@debian:/# echo "ff02::1         ip6-allnodes"  >>  /etc/hosts
root@debian:/# echo "ff02::2         ip6-allrouters" >> /etc/hosts

root@debian:/# apt install locales

root@debian:/# dpkg-reconfigure locales

root@debian:/# apt install console-setup

root@debian:/# dpkg-reconfigure keyboard-configuration

root@debian:/# passwd

root@debian:/# useradd -m yourusername

root@debian:/# passwd yourusername

root@debian:/# usermod -aG cdrom,floppy,audio,dip,video,plugdev,netdev yourusername

root@debian:/# usermod -s /bin/bash yourusername

root@debian:/# apt install sudo

root@debian:/# usermod -aG sudo yourusername

root@debian:/# cat /etc/sudoers

root@debian:/# apt install grub-efi-amd64

root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi

root@debian:/# update-grub

root@debian:/# apt install firmware-linux

root@debian:/# apt install mate-desktop-environment

root@debian:/# apt install mate-desktop-environment-extras

root@debian:/# apt install lightdm

root@debian:/# mkdir /etc/inittab.d

root@debian:/# apt clean

root@debian:/# exit

root@debian:~# rm /mnt/etc/resolv.conf

root@debian:~# umount /dev/sda1

root@debian:~# umount /dev/sda4

root@debian:~# umount /dev/sda3

root@debian:~# reboot

###########################################################################################################
###########################################################################################################
##### After rebooting, if you see the error "ERROR: plymouth failed to start. " in the boot log.###########
##### Method 1: Remove the plymouth package ###############################################################
###########################################################################################################
##### Method 2:############################################################################################
##### In the second method, you will not remove the plymouth package, but you will make further############
#####adjustments until the plymouth-related error is resolved.#############################################

username@hostname:~$ sudo update-rc.d -f plymouth remove
username@hostname:~$ sudo update-rc.d -f plymouth-log remove

######And add the splash option to the file  /etc/default/grub  , as follows: #############################

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

##### then ##############################

username@hostname:~$ sudo update-grub

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting,if you have no output sound and no sound , just run the following commands: ##########

username@hostname:~$ sudo apt purge pipewire-alsa --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting,If you see the following errors in the related logs when shutting down the system: ###
##### "ModemManager[1601]: <msg> [base-manager] couldn't check support for device /sys/devices/pci000...."#
##### "ModemManager[1601]: <wrn> couldn't acquire the org.freedesktop.ModemManager1 service name...."######
################################## just run the following commands: #######################################

username@hostname:~$ sudo apt purge modemmanager --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

########################################################################################################################
########################################################################################################################

#####################################################################################

Install+Debian 13+Debootstrap+Runit+MATE Desktop+The Arch way

###########################################################################################################
#######################Install+Debian 13+Debootstrap+Runit+MATE Desktop+The Arch way#######################
###########################################################################################################
##### To install Debian as Debootstrap, use one of the live Debian distributions.##########################
###########################################################################################################
##### This is how my system partitioning is, you can change them according to your system partitioning.####
##### /dev/sda1 for efi, /dev/sda2 for swap, /dev/sda3 for root, /dev/sda4 for home #######################
###########################################################################################################
##### Before you run these commands, you should first partition your hard drive, for example with gparted.#
##### The mkfs commands used here are only for formatting the desired partition, not for creating it.######
##### For example, we formatted the partition with mkfs to ext4 or fat 32.#################################
###########################################################################################################
##### In the following commands, replace yourhostname with your desired host name and yourusername ########
##### with your desired username.##########################################################################
###########################################################################################################
##### On the command line, be sure to note the difference between user@debian:~$ and ######################
##### root@debian:~# and root@debian:/#, which represent completely different paths.#######################
###########################################################################################################
##### you need to decide if you want sudo or doas in order to elevate your user’s privileges for###########
##### updates, etc… This is your choice.Debian provides a pre-configured sudoers file, and you ############
##### probably don’t need to change anything, but it’s wise to verify that the line #######################
##### under “allow members of group sudo …” is not commented out with the cat /etc/sudoers command.########
##### Look at the output, and if the line is commented out, use the visudo command and uncomment it.#######
###########################################################################################################
#####I am installing the Mate desktop here, but you can install another desktop according to your taste.###
###########################################################################################################
#####I am installing the xdm display manager here, but you can install another display manager#############
#####according to your taste.##############################################################################
###########################################################################################################



user@debian:~$ sudo apt install tmux

user@debian:~$ tmux

user@debian:~$ sudo su -
root@debian:~#

root@debian:~# apt update && apt install debootstrap arch-install-scripts -y

root@debian:~# mkfs.fat -F 32 /dev/sda1

root@debian:~# mkswap /dev/sda2

root@debian:~# swapon /dev/sda2

root@debian:~# mkfs.ext4 /dev/sda3

root@debian:~# mkfs.ext4 /dev/sda4

root@debian:~# mount /dev/sda3 /mnt

root@debian:~# mkdir -p /mnt/{boot,home}

root@debian:~# mount /dev/sda4 /mnt/home

root@debian:~# mkdir -p /mnt/boot/efi

root@debian:~# mount /dev/sda1 /mnt/boot/efi

root@debian:~# mount | grep sda

root@debian:~# ls  /usr/share/debootstrap/scripts/

root@debian:~# /usr/sbin/debootstrap  --variant=minbase --include=vim  trixie  /mnt  http://deb.debian.org/debian/

root@debian:~# genfstab -U /mnt >> /mnt/etc/fstab

root@debian:~# echo deb http://deb.debian.org/debian trixie main contrib non-free-firmware non-free > /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian-security trixie-security main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list

root@debian:~# echo deb http://deb.debian.org/debian/ trixie-updates main contrib non-free-firmware non-free >> /mnt/etc/apt/sources.list
 
root@debian:~# arch-chroot /mnt
root@debian:/#

root@debian:/# apt update

root@debian:/# apt install runit-init runit-services orphan-sysvinit-scripts elogind libpam-elogind

root@debian:/# apt-mark hold systemd systemd-sysv  libpam-systemd

root@norouzi:~# cat > /etc/apt/preferences.d/nosystemd << "EOF"
> Package: systemd
> Pin: release *
> Pin-Priority: -1
>
> Package: systemd-sysv
> Pin: release *
> Pin-Priority: -1
>
> Package: libpam-systemd
> Pin: release *
> Pin-Priority: -1
> EOF
root@debian:/#

root@norouzi:~# apt-mark showhold

root@debian:/# apt install linux-image-amd64

root@debian:/# dpkg-reconfigure tzdata

root@debian:/# apt install network-manager-gnome

root@debian:/# echo "yourhostname" > /etc/hostname

root@debian:/# echo "127.0.0.1       localhost" > /etc/hosts
root@debian:/# echo "127.0.1.1       yourhostname" >> /etc/hosts     
root@debian:/# echo "::1             localhost ip6-localhost ip6-loopback" >> /etc/hosts
root@debian:/# echo "fe00::0         ip6-localnet" >> /etc/hosts
root@debian:/# echo "ff00::0         ip6-mcastprefix" >> /etc/hosts
root@debian:/# echo "ff02::1         ip6-allnodes"  >>  /etc/hosts
root@debian:/# echo "ff02::2         ip6-allrouters" >> /etc/hosts

root@debian:/# apt install locales

root@debian:/# dpkg-reconfigure locales

root@debian:/# apt install console-setup

root@debian:/# dpkg-reconfigure keyboard-configuration

root@debian:/# passwd

root@debian:/# useradd -m yourusername

root@debian:/# passwd yourusername

root@debian:/# usermod -aG cdrom,floppy,audio,dip,video,plugdev,netdev yourusername

root@debian:/# usermod -s /bin/bash yourusername

root@debian:/# apt install sudo

root@debian:/# usermod -aG sudo yourusername

root@debian:/# cat /etc/sudoers

root@debian:/# apt install grub-efi-amd64

root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi

root@debian:/# update-grub

root@debian:/# apt install firmware-linux

root@debian:/# apt install mate-desktop-environment

root@debian:/# apt install mate-desktop-environment-extras

root@debian:/# apt install xdm

root@debian:/# apt install xserver-xorg

root@debian:/# apt clean

root@debian:/# exit

root@debian:~# rm /mnt/etc/resolv.conf

root@debian:~# umount /dev/sda1

root@debian:~# umount /dev/sda4

root@debian:~# umount -l /dev/sda3

root@debian:~# reboot

###########################################################################################################
###########################################################################################################
#####After rebooting, if you do not see the Plymouth page during boot and shutdown, follow these steps#####
#####to resolve the issue:#################################################################################
#####add the splash option to the file  /etc/default/grub  , as follows: ##################################

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

##### then ##############################

username@hostname:~$ sudo update-grub

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting,if you have no output sound and no sound , just run the following commands: ##########

username@hostname:~$ sudo apt purge pipewire-alsa --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting, If the following warning is shown in the boot logs: #################################
##### "/etc/runit/1: 20: /usr/bin/wtmpdb: not found " #####################################################
##### "warning: failed to write a wtmpdb boot entry " #####################################################
################################## just run the following commands: #######################################

username@hostname:~$ sudo apt install wtmpdb

##### then ##############################

username@hostname:~$ sudo reboot

###########################################################################################################
###########################################################################################################
#####After rebooting, If the following warning is shown in the boot logs: #################################
##### "saned[1325] : do_bindings: [1] bind failed: Address already in use "################################
##### "saned[1327] : saned_avahi: failed to create client: Daemon not running "############################
################################## just run the following commands: #######################################

username@hostname:~$ sudo apt purge sane-utils --auto-remove

##### then ##############################

username@hostname:~$ sudo reboot

#######################################################################################################################
#######################################################################################################################
                                                                                 
17
انجمن عمومی / پاسخ : نصب Debian Debootstrap (حل شد)
« آخرین ارسال توسط norouzi90 24 آبان 1404، 05:48 ب‌ظ »
ادامه عکس ها:
18
انجمن عمومی / پاسخ : نصب Debian Debootstrap (حل شد)
« آخرین ارسال توسط norouzi90 24 آبان 1404، 05:47 ب‌ظ »
اشکال زدایی راهنمای نصب:

 شماره 1 :

مختص: SysV  و OpenRC  و Runit 

شرح مشکل:
آقای Ian LeCorbeau ، در راهنمای نصبش در قسمت Networking، از بسته های ifupdown و wpasupplicant استفاده کرد. من هم به‌جای این بسته ها از بسته network-manager استفاده می کردم.
ولی هنگامیکه وارد میزکارم شدم متوجه شدم در نوار پانل، در ناحیه اعلان ها، اپلت شبکه وجود ندارد.( Network applet missing from notification area  )
(به زبان ساده در پانل نشانگری که نشاندهنده اتصال یا عدم اتصال به اینترنت باشد، نبود.)

راه حل:
به‌جای بسته network-manager از بسته network-manger-gnome استفاده کردم. که با نصب این بسته، چون دارای بسته های وابستگی کامل تری است، مشکل حل شد و اپلت شبکه در ناحیه اعلان ها در پانل نشان داده شد.
این راه حل به راهنمای نصب اضافه گردید.

###################################################################################################

 شماره 2 :

مختص: SysV  و OpenRC  و Runit

شرح مشکل:
نداشتن صدا و عدم وجود صدای خروجی.

راه حل:
با حذف بسته pipewire-alsa مشکل مربوط به نبود صدا حل شد.
این راه حل به راهنمای نصب اضافه گردید.


###################################################################################################

 شماره 3 :

مختص: Runit

شرح مشکل:
در هنگام بوت در Runit ، هشدار زیر در لاگهای بوت نشان داده می شد: (شکل 1)

/etc/runit/1: 20: /usr/bin/wtmpdb: not found
warning: failed to write a wtmpdb boot entry

راه حل:
با نصب بسته wtmpdb ، دیگر این هشدار در زمان بوت نشان داده نشد. (شکل 2)
این راه حل به راهنمای نصب اضافه گردید.

###################################################################################################


 شماره 4 :

مختص: Runit

شرح مشکل:
در هنگام بوت در Runit ، خطاهای زیر نشان داده می شد:  (شکل 1)

saned[1325]: do_bindings: [1] bind failed: Address already in use
saned[1327]: saned_avahi: failed to create client: Daemon not running

راه حل:
اگر شما از اسکنر استفاده نمی کنید، با حذف بسته sane-utils ، دیگر این خطاها در زمان بوت نشان داده نخواهد شد. (شکل 2)
این راه حل به راهنمای نصب اضافه گردید.

###################################################################################################

 شماره 5 :

مختص: SysV  و OpenRC

شرح مشکل:
در هنگام خاموش کردن، در لاگهای مرتبط با خاموش شدن سیستم، خطاهای زیر قابل مشاهده اند: (عکس های 3 و 4 )

ModemManager[1601]: <msg> [base-manager] couldn't check support for device /sys/devices/pci000.............
ModemManager[1601]: <wrn> couldn't acquire the 'org.freedesktop.ModemManager1" service name
راه حل:
با حذف modemmanager ، در زمان خاموش شدن سیستم دیگر این خطاها نشان داده نشد.
این راه حل به راهنمای نصب اضافه گردید.

###################################################################################################

نکته اضافی:
بعد از نصب دبیان به‌صورتDebootstrap ، اگر در هنگام اولین ورود به سیستم با هشدار و خطاهای زیر:

Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning).
Setting up console font and keymap...WARNING: Unknown X keysym "none"
WARNING: Unknown X keysym "none"
WARNING: Unknown X keysym "none"
WARNING: Unknown X keysym "none"
WARNING: Unknown X keysym "none"

 در لاگ های بوت مواجه شدید، نیازی به هیچ اقدامی از طرف شما نیست.
دفعه بعد که به سیستمتان وارد خواهید شد این ها دیگر نخواهد بود.

اگر به هر عنوان هشدار اول در بوت های بعدی حل نشد، از این دستور استفاده کنید:

# ln -s /proc/mounts /etc/mtab
###################################################################################################

نکته اضافی:
روشی برای دیدن لاگ های بوت:

# cat /var/log/boot.log
###################################################################################################

نکته اضافی:
از ما بین  SysV  و  OpenRC  و  Runit   ،

امتحانی که من کردم نشان داد کهRunit دارای سرعت بالاتری در بوت و خاموشی و ورود به صفحه کاربری بود.

###################################################################################################

نکته اضافی:
پنجره های محاوره ای برای گرفتن پسورد برای ورود به برنامه هایی مانند timeshift و synaptic ، که در عکس های 5 و 6 مشاهده می کنید، چندان به دلم ننشست، مانند پنجره هایی که قبلاً می دیدم نبود.

در ضمن با وارد کردن پسورد در صفحه لاگین برای ورود به حساب کاربری، در حالت SysV ، حدود 40 ثانیه طول می کشید تا وارد صفحه کاربر بشوم.
با حذف بسته  ukui-polkit  ، شکل  پنجره های محاوره ای برای گرفتن پسورد برای ورود به برنامه هایی مانند timeshift و synaptic ، همانطور که در شکل های 7 و 8 می بینید، به شکل پنجره های همیشگی و آشنایم تبدیل شدند.
در ضمن اینبار  با وارد کردن پسورد در صفحه لاگین برای ورود به حساب کاربری، در حالت SysV ، حدود 14 ثانیه طول می کشید تا وارد صفحه کاربر بشوم.

###################################################################################################
19
کافه اوبونتو / پاسخ : ایستگاه های اعداد
« آخرین ارسال توسط esmaeelE 24 آبان 1404، 11:08 ق‌ظ »
پیشنهاد من به دوستان اینه که این [4] رادیو نرم افزاری که ارزون هم هست رو با کیت آنتنش تهیه کنند تا شاید چیزهای جالبی در محیط اطرافشون کشف کنند و قدم بعدی شاید دستگاه قوی تر و آنتنهای بهتری رو در نظر بگیرند و در نهایت اینکه به زبان انگلیسی منابع بسیار زیادی در دسترس هست که دوستان میتونند مطالعه کنند.

سپاس از راهنمایی‌تان. دستگاه rtl-sdr v3 را بدون ادوات جانبی و آنتن تهیه کردم.
برای آنتن‌ها پیشنهادی دارید؟

20
برای مدیریت فضای ذخیره‌سازی (storage) پس از آشنایی با اصول و مبانی که در ارسال‌های پیشین دوستان اشاره کردند موارد زیر را نیز در نظر داشته باشید.

در زمان نصب توزیع از LVM استفاده کنید تا بتوانید مدیریت حجم‌ها را به شکل منطقی در دست بگیرید.
به این شکل در ادامه کار می‌توانید اندازه هر یک از افرازهای منطقی (Logical Volume) که مشابه پارتیشن‌های سنتی هستند را به سادگی تغییر دهید.
برای نمونه از حجم یکی بکاهید و به دیگری بیفزایید. یا اینکه در صورت پر شدن کل فضا یک هارد دیگر به صورت فیزیکی اضافه کنید و از آن هم برای افزایش فضا بهره ببرید.

برای آشنایی بیشتر اینجا را ببینید. 

صفحه: 1 [2] 3 4 ... 10