AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-17056

Thufir's questions

Martin Hope
Thufir
Asked: 2018-05-26 18:13:48 +0800 CST

nenhum adaptador wi-fi detectado por Bodhi

  • -1

Instalado bodhi-4.5.0-64 em um Macbook 2008, 4.1 e não estou vendo opções sem fio.

Preciso instalar algo do apt primeiro para que Bodhi pegue o adaptador wi-fi embutido? A GUI de "conexão de rede" mostra apenas a NIC ethernet física.

diagnósticos:

thufir@bot:~$
thufir@bot:~$ sudo lspci -vnn | grep -i net
02:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller [11ab:436a] (rev 13
)
        Subsystem: Marvell Technology Group Ltd. Imac 8,1 Wired Ethernet Adapter [11ab:00ba]
thufir@bot:~$
thufir@bot:~$
thufir@bot:~$ sudo lshw -C net
  *-network
       description: Network controller
       product: BCM4321 802.11a/b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 03
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:16 memory:90500000-90503fff memory:90000000-900fffff
  *-network
       description: Ethernet interface
       product: 88E8058 PCI-E Gigabit Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: ens5
       version: 13
       serial: 00:1f:5b:e9:5c:de
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.51 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:27 memory:90400000-90403fff ioport:5000(size=256) memory:90420000-9043ffff
thufir@bot:~$

https://ubuntuforums.org/showthread.php?t=1923762

thufir@bot:~$
thufir@bot:~$ iwconfig
lo        no wireless extensions.

ens5      no wireless extensions.

thufir@bot:~$
networking wifi
  • 1 respostas
  • 8511 Views
Martin Hope
Thufir
Asked: 2018-02-19 09:02:36 +0800 CST

Resolve-DnsName: o termo 'Resolve-DnsName' não é reconhecido como o nome de um cmdlet

  • 6

Por que Resolve-DnsNamenão é reconhecido por PowerShell Core? Tanto quanto me lembro, funciona bem consigo PowerShellmesmo.

Isso é um problema .NETversus dotnet? Isso dotnetsimplesmente não tem essa funcionalidade?

thufir@dur:~/powershell/webservicex$ 
thufir@dur:~/powershell/webservicex$ dotnet --version
2.1.4
thufir@dur:~/powershell/webservicex$ 
thufir@dur:~/powershell/webservicex$ ./dns.ps1 
Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At /home/thufir/powershell/webservicex/dns.ps1:3 char:1
+ Resolve-DnsName -Name localhost -Type ANY | Format-Table -AutoSize
+ ~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Resolve-DnsName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

thufir@dur:~/powershell/webservicex$ 
thufir@dur:~/powershell/webservicex$ cat dns.ps1 
#!/usr/bin/pwsh -Command

Resolve-DnsName -Name localhost -Type ANY | Format-Table -AutoSize

thufir@dur:~/powershell/webservicex$ 

consulte a pergunta fechada também e technet .

shell-script scripting
  • 3 respostas
  • 3479 Views
Martin Hope
Thufir
Asked: 2017-12-27 16:21:25 +0800 CST

executando o servidor web apache em uma porta arbitrária?

  • -1

Como o ISP bloqueia a porta 80, isso impede que eu execute um servidor da web. Como solução alternativa, é possível especificar uma porta diferente para o Apache? Acredito ter visto menção de usar a porta 81 ou algumas portas inferiores .

Não para produção, apenas para brincar .

apache-httpd configuration
  • 1 respostas
  • 68 Views
Martin Hope
Thufir
Asked: 2017-12-02 05:19:32 +0800 CST

como importar clientes para dolibarr

  • 0

Tenho uma tabela tosca e pronta como:

mysql> 
mysql> show tables;
+----------------------+
| Tables_in_businesses |
+----------------------+
| 2017july             |
+----------------------+
1 row in set (0.00 sec)

mysql> 
mysql> describe 2017july;
+--------------+-------------+------+-----+---------+-------+
| Field        | Type        | Null | Key | Default | Extra |
+--------------+-------------+------+-----+---------+-------+
| business     | varchar(45) | YES  |     | NULL    |       |
| product      | varchar(45) | YES  |     | NULL    |       |
| unit         | varchar(45) | YES  |     | NULL    |       |
| house        | varchar(45) | YES  |     | NULL    |       |
| road         | varchar(45) | YES  |     | NULL    |       |
| postal       | varchar(45) | YES  |     | NULL    |       |
| phnum        | varchar(45) | YES  |     | NULL    |       |
| emps         | varchar(45) | YES  |     | NULL    |       |
| town         | varchar(45) | YES  |     | NULL    |       |
| typebusiness | varchar(45) | YES  |     | NULL    |       |
+--------------+-------------+------+-----+---------+-------+
10 rows in set (0.01 sec)

mysql> 

Exportar para o LibreOffice e outros não é problemático, mas as instruções de importação são apenas em francês. Como alternativa, o script PHP sugerido será importado de um arquivo de dados -- mas tem uma estrutura muito específica.

como devo modificar o esquema para caber no dolibarr?

Pode haver alguma ferramenta alternativa para importar clientes? Eu habilitei os módulos Projects/Opportunities/Leadse .Third parties

Dolibarr é um pouco mais sofisticado:

mysql> 
mysql> use dolibarr;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> 
mysql> show tables;
+-----------------------------------------+
| Tables_in_dolibarr                      |
+-----------------------------------------+
| llx_accounting_account                  |
| llx_accounting_bookkeeping              |
| llx_accounting_fiscalyear               |
| llx_accounting_journal                  |
| llx_accounting_system                   |
| llx_actioncomm                          |
| llx_actioncomm_extrafields              |
| llx_actioncomm_resources                |
| llx_adherent                            |
| llx_adherent_extrafields                |
| llx_adherent_type                       |
| llx_adherent_type_extrafields           |
| llx_advtargetemailing                   |
| llx_bank                                |
| llx_bank_account                        |
| llx_bank_account_extrafields            |
| llx_bank_categ                          |
| llx_bank_class                          |
| llx_bank_url                            |
| llx_bookmark                            |
| llx_bordereau_cheque                    |
| llx_boxes                               |
| llx_boxes_def                           |
| llx_budget                              |
| llx_budget_lines                        |
| llx_c_accounting_category               |
| llx_c_action_trigger                    |
| llx_c_actioncomm                        |
| llx_c_availability                      |
| llx_c_barcode_type                      |
| llx_c_chargesociales                    |
| llx_c_civility                          |
| llx_c_country                           |
| llx_c_currencies                        |
| llx_c_departements                      |
| llx_c_ecotaxe                           |
| llx_c_effectif                          |
| llx_c_email_templates                   |
| llx_c_field_list                        |
| llx_c_format_cards                      |
| llx_c_forme_juridique                   |
| llx_c_holiday_types                     |
| llx_c_hrm_department                    |
| llx_c_hrm_function                      |
| llx_c_incoterms                         |
| llx_c_input_method                      |
| llx_c_input_reason                      |
| llx_c_lead_status                       |
| llx_c_paiement                          |
| llx_c_paper_format                      |
| llx_c_payment_term                      |
| llx_c_price_expression                  |
| llx_c_price_global_variable             |
| llx_c_price_global_variable_updater     |
| llx_c_propalst                          |
| llx_c_prospectlevel                     |
| llx_c_regions                           |
| llx_c_revenuestamp                      |
| llx_c_shipment_mode                     |
| llx_c_stcomm                            |
| llx_c_tva                               |
| llx_c_type_contact                      |
| llx_c_type_fees                         |
| llx_c_type_resource                     |
| llx_c_typent                            |
| llx_c_units                             |
| llx_c_ziptown                           |
| llx_categorie                           |
| llx_categorie_account                   |
| llx_categorie_contact                   |
| llx_categorie_fournisseur               |
| llx_categorie_lang                      |
| llx_categorie_member                    |
| llx_categorie_product                   |
| llx_categorie_project                   |
| llx_categorie_societe                   |
| llx_categorie_user                      |
| llx_categories_extrafields              |
| llx_chargesociales                      |
| llx_commande                            |
| llx_commande_extrafields                |
| llx_commande_fournisseur                |
| llx_commande_fournisseur_dispatch       |
| llx_commande_fournisseur_extrafields    |
| llx_commande_fournisseur_log            |
| llx_commande_fournisseurdet             |
| llx_commande_fournisseurdet_extrafields |
| llx_commandedet                         |
| llx_commandedet_extrafields             |
| llx_const                               |
| llx_contrat                             |
| llx_contrat_extrafields                 |
| llx_contratdet                          |
| llx_contratdet_extrafields              |
| llx_contratdet_log                      |
| llx_cronjob                             |
| llx_deplacement                         |
| llx_document_model                      |
| llx_don                                 |
| llx_don_extrafields                     |
| llx_ecm_directories                     |
| llx_ecm_files                           |
| llx_element_contact                     |
| llx_element_element                     |
| llx_element_resources                   |
| llx_element_tag                         |
| llx_entrepot                            |
| llx_establishment                       |
| llx_event_element                       |
| llx_events                              |
| llx_expedition                          |
| llx_expedition_extrafields              |
| llx_expeditiondet                       |
| llx_expeditiondet_batch                 |
| llx_expeditiondet_extrafields           |
| llx_expensereport                       |
| llx_expensereport_det                   |
| llx_expensereport_extrafields           |
| llx_export_compta                       |
| llx_export_model                        |
| llx_extrafields                         |
| llx_facture                             |
| llx_facture_extrafields                 |
| llx_facture_fourn                       |
| llx_facture_fourn_det                   |
| llx_facture_fourn_det_extrafields       |
| llx_facture_fourn_extrafields           |
| llx_facture_rec                         |
| llx_facturedet                          |
| llx_facturedet_extrafields              |
| llx_facturedet_rec                      |
| llx_fichinter                           |
| llx_fichinter_extrafields               |
| llx_fichinterdet                        |
| llx_fichinterdet_extrafields            |
| llx_holiday                             |
| llx_holiday_config                      |
| llx_holiday_logs                        |
| llx_holiday_users                       |
| llx_import_model                        |
| llx_links                               |
| llx_livraison                           |
| llx_livraison_extrafields               |
| llx_livraisondet                        |
| llx_livraisondet_extrafields            |
| llx_loan                                |
| llx_localtax                            |
| llx_mailing                             |
| llx_mailing_cibles                      |
| llx_menu                                |
| llx_multicurrency                       |
| llx_multicurrency_rate                  |
| llx_notify                              |
| llx_notify_def                          |
| llx_oauth_state                         |
| llx_oauth_token                         |
| llx_opensurvey_comments                 |
| llx_opensurvey_formquestions            |
| llx_opensurvey_sondage                  |
| llx_opensurvey_user_formanswers         |
| llx_opensurvey_user_studs               |
| llx_overwrite_trans                     |
| llx_paiement                            |
| llx_paiement_facture                    |
| llx_paiementcharge                      |
| llx_paiementfourn                       |
| llx_paiementfourn_facturefourn          |
| llx_payment_donation                    |
| llx_payment_expensereport               |
| llx_payment_loan                        |
| llx_payment_salary                      |
| llx_prelevement_bons                    |
| llx_prelevement_facture                 |
| llx_prelevement_facture_demande         |
| llx_prelevement_lignes                  |
| llx_prelevement_rejet                   |
| llx_printing                            |
| llx_product                             |
| llx_product_association                 |
| llx_product_batch                       |
| llx_product_customer_price              |
| llx_product_customer_price_log          |
| llx_product_extrafields                 |
| llx_product_fournisseur_price           |
| llx_product_fournisseur_price_log       |
| llx_product_lang                        |
| llx_product_lot                         |
| llx_product_lot_extrafields             |
| llx_product_price                       |
| llx_product_price_by_qty                |
| llx_product_pricerules                  |
| llx_product_stock                       |
| llx_product_warehouse_properties        |
| llx_projet                              |
| llx_projet_extrafields                  |
| llx_projet_task                         |
| llx_projet_task_extrafields             |
| llx_projet_task_time                    |
| llx_propal                              |
| llx_propal_extrafields                  |
| llx_propal_merge_pdf_product            |
| llx_propaldet                           |
| llx_propaldet_extrafields               |
| llx_resource                            |
| llx_resource_extrafields                |
| llx_rights_def                          |
| llx_societe                             |
| llx_societe_address                     |
| llx_societe_commerciaux                 |
| llx_societe_extrafields                 |
| llx_societe_log                         |
| llx_societe_prices                      |
| llx_societe_remise                      |
| llx_societe_remise_except               |
| llx_societe_rib                         |
| llx_socpeople                           |
| llx_socpeople_extrafields               |
| llx_stock_mouvement                     |
| llx_subscription                        |
| llx_supplier_proposal                   |
| llx_supplier_proposal_extrafields       |
| llx_supplier_proposaldet                |
| llx_supplier_proposaldet_extrafields    |
| llx_tva                                 |
| llx_user                                |
| llx_user_alert                          |
| llx_user_clicktodial                    |
| llx_user_employment                     |
| llx_user_extrafields                    |
| llx_user_param                          |
| llx_user_rib                            |
| llx_user_rights                         |
| llx_usergroup                           |
| llx_usergroup_extrafields               |
| llx_usergroup_rights                    |
| llx_usergroup_user                      |
| llx_website                             |
| llx_website_page                        |
+-----------------------------------------+
238 rows in set (0.00 sec)

mysql> 

Talvez copiar a estrutura llx_societee carregar os dados lá? Eu nem tenho certeza do que alguns dos nomes das tabelas significam - e isso parece bastante estranho. Deve haver uma ferramenta ou idioma que estou perdendo.

Ah.... não sabia que tinha que habilitar o Data Importsplugin para pegar um assistente:

importação de dados

php mysql
  • 2 respostas
  • 375 Views
Martin Hope
Thufir
Asked: 2017-11-24 03:12:10 +0800 CST

snap /dev/loop em 100% de utilização -- sem espaço livre

  • 31

Espaço livre:

thufir@dur:~$ 
thufir@dur:~$ df -h
Filesystem                   Size  Used Avail Use% Mounted on
udev                         3.9G     0  3.9G   0% /dev
tmpfs                        794M  9.8M  785M   2% /run
/dev/mapper/ubuntu--vg-root  220G   37G  173G  18% /
tmpfs                        3.9G   35M  3.9G   1% /dev/shm
tmpfs                        5.0M  4.0K  5.0M   1% /run/lock
tmpfs                        3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/loop0                    42M   42M     0 100% /snap/docker/171
/dev/loop1                    84M   84M     0 100% /snap/core/3440
/dev/loop3                    17M   17M     0 100% /snap/ubuntu-make/116
/dev/loop4                   232M  232M     0 100% /snap/vuze-vs/2
/dev/loop6                    17M   17M     0 100% /snap/ubuntu-make/109
/dev/loop7                    84M   84M     0 100% /snap/core/3247
/dev/loop8                   128K  128K     0 100% /snap/hello-world/27
/dev/loop2                    77M   77M     0 100% /snap/drakon/1
/dev/sda1                    511M  4.6M  507M   1% /boot/efi
tmpfs                        794M   16K  794M   1% /run/user/121
/dev/loop9                    17M   17M     0 100% /snap/ubuntu-make/123
tmpfs                        794M  2.2M  792M   1% /run/user/1000
/home/thufir/.Private        220G   37G  173G  18% /home/thufir
thufir@dur:~$ 

As imagens instantâneas estão em 100%. Isso é um problema? Em caso afirmativo, qual é a solução?

hard-disk lvm
  • 1 respostas
  • 51522 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Possível firmware ausente /lib/firmware/i915/* para o módulo i915

    • 3 respostas
  • Marko Smith

    Falha ao buscar o repositório de backports jessie

    • 4 respostas
  • Marko Smith

    Como exportar uma chave privada GPG e uma chave pública para um arquivo

    • 4 respostas
  • Marko Smith

    Como podemos executar um comando armazenado em uma variável?

    • 5 respostas
  • Marko Smith

    Como configurar o systemd-resolved e o systemd-networkd para usar o servidor DNS local para resolver domínios locais e o servidor DNS remoto para domínios remotos?

    • 3 respostas
  • Marko Smith

    apt-get update error no Kali Linux após a atualização do dist [duplicado]

    • 2 respostas
  • Marko Smith

    Como ver as últimas linhas x do log de serviço systemctl

    • 5 respostas
  • Marko Smith

    Nano - pule para o final do arquivo

    • 8 respostas
  • Marko Smith

    erro grub: você precisa carregar o kernel primeiro

    • 4 respostas
  • Marko Smith

    Como baixar o pacote não instalá-lo com o comando apt-get?

    • 7 respostas
  • Martin Hope
    user12345 Falha ao buscar o repositório de backports jessie 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl Por que a maioria dos exemplos do systemd contém WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky Como exportar uma chave privada GPG e uma chave pública para um arquivo 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll status systemctl mostra: "Estado: degradado" 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim Como podemos executar um comando armazenado em uma variável? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S Por que /dev/null é um arquivo? Por que sua função não é implementada como um programa simples? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 Como ver as últimas linhas x do log de serviço systemctl 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - pule para o final do arquivo 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla Por que verdadeiro e falso são tão grandes? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis Substitua a string em um arquivo de texto enorme (70 GB), uma linha 2017-12-30 06:58:33 +0800 CST

Hot tag

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve